Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
ZxAd_Unity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
ZxAd_Unity
Commits
bc3b7088
Commit
bc3b7088
authored
Apr 27, 2021
by
王雪伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复穿山甲开屏上报问题
parent
339eb7f1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
4 deletions
+17
-4
AdManager.cs
Assets/AdSDK/AD/AD_Manager/AdManager.cs
+1
-1
CSJSplshADUtils.cs
Assets/AdSDK/AD/CSJ/CSJSplshADUtils.cs
+1
-0
Example.cs
Assets/AdSDK/AD/CSJ/Example/Example.cs
+10
-0
zxhcsdk-release_1.3.2.aar
...AD/ZXHC/ZxHCSDK/Plugins/Android/zxhcsdk-release_1.3.2.aar
+0
-0
zxhcsdk-release_1.3.2.aar.meta
...HC/ZxHCSDK/Plugins/Android/zxhcsdk-release_1.3.2.aar.meta
+0
-0
EventUtils.cs
Assets/AdSDK/Umeng/EventUtils.cs
+2
-0
EditorBuildSettings.asset
ProjectSettings/EditorBuildSettings.asset
+1
-1
ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+2
-2
No files found.
Assets/AdSDK/AD/AD_Manager/AdManager.cs
View file @
bc3b7088
Assets/AdSDK/AD/CSJ/CSJSplshADUtils.cs
View file @
bc3b7088
...
@@ -169,6 +169,7 @@ public class CSJSplshADUtils
...
@@ -169,6 +169,7 @@ public class CSJSplshADUtils
public
SplashAdInteractionListener
(
AdEntity
entity
,
CSJSplshADUtils
example
,
ZXADSplashListener
listener
,
AndroidJavaObject
activity
,
AndroidJavaObject
splashAdManager
)
public
SplashAdInteractionListener
(
AdEntity
entity
,
CSJSplshADUtils
example
,
ZXADSplashListener
listener
,
AndroidJavaObject
activity
,
AndroidJavaObject
splashAdManager
)
{
{
this
.
entity
=
entity
;
this
.
csjAD
=
example
;
this
.
csjAD
=
example
;
this
.
listener
=
listener
;
this
.
listener
=
listener
;
this
.
activity
=
activity
;
this
.
activity
=
activity
;
...
...
Assets/AdSDK/AD/CSJ/Example/Example.cs
View file @
bc3b7088
...
@@ -50,6 +50,16 @@ public sealed class Example : MonoBehaviour
...
@@ -50,6 +50,16 @@ public sealed class Example : MonoBehaviour
private
ExpressAd
mExpressBannerAd
;
private
ExpressAd
mExpressBannerAd
;
private
ExpressAd
mExpressInterstitialAd
;
private
ExpressAd
mExpressInterstitialAd
;
private
void
Awake
()
{
#if UNITY_ANDROID
AndroidJavaClass
jc
=
new
AndroidJavaClass
(
"com.unity.adcommon.unity.TTADManager"
);
jc
.
CallStatic
(
"init"
,
GetActivity
(),
"5001121"
);
//5001121 5145269
//获取穿山甲权限
SDK
.
RequestPermissionIfNecessary
();
#endif
}
private
void
OnApplicationFocus
(
bool
focus
)
private
void
OnApplicationFocus
(
bool
focus
)
{
{
Debug
.
unityLogger
.
Log
(
"CSJOnApplicationFocus"
+
focus
);
Debug
.
unityLogger
.
Log
(
"CSJOnApplicationFocus"
+
focus
);
...
...
Assets/AdSDK/AD/ZXHC/ZxHCSDK/Plugins/Android/zxhcsdk-release.aar
→
Assets/AdSDK/AD/ZXHC/ZxHCSDK/Plugins/Android/zxhcsdk-release
_1.3.2
.aar
View file @
bc3b7088
File moved
Assets/AdSDK/AD/ZXHC/ZxHCSDK/Plugins/Android/zxhcsdk-release.aar.meta
→
Assets/AdSDK/AD/ZXHC/ZxHCSDK/Plugins/Android/zxhcsdk-release
_1.3.2
.aar.meta
View file @
bc3b7088
File moved
Assets/AdSDK/Umeng/EventUtils.cs
View file @
bc3b7088
...
@@ -103,6 +103,7 @@ public class EventUtils
...
@@ -103,6 +103,7 @@ public class EventUtils
/// </summary>
/// </summary>
/// <param name="entity"></param>
/// <param name="entity"></param>
public
static
void
onEventShowSuccess
(
AdEntity
entity
)
{
public
static
void
onEventShowSuccess
(
AdEntity
entity
)
{
Debug
.
unityLogger
.
Log
(
"UmLog"
,
entity
.
adPlatform
+
"1onEventShowSuccess entity.actionName "
+
entity
.
actionName
);
if
(
entity
==
null
)
if
(
entity
==
null
)
{
{
return
;
return
;
...
@@ -124,6 +125,7 @@ public class EventUtils
...
@@ -124,6 +125,7 @@ public class EventUtils
{
{
HttpTool
.
Instance
.
_GetEvent
(
entity
.
imp_tracking
[
0
]);
HttpTool
.
Instance
.
_GetEvent
(
entity
.
imp_tracking
[
0
]);
}
}
Debug
.
unityLogger
.
Log
(
"UmLog"
,
entity
.
adPlatform
+
"2onEventShowSuccess entity.actionName "
+
entity
.
actionName
);
GA
.
Event
(
entity
.
actionName
);
GA
.
Event
(
entity
.
actionName
);
}
}
/// <summary>
/// <summary>
...
...
ProjectSettings/EditorBuildSettings.asset
View file @
bc3b7088
...
@@ -8,7 +8,7 @@ EditorBuildSettings:
...
@@ -8,7 +8,7 @@ EditorBuildSettings:
-
enabled
:
0
-
enabled
:
0
path
:
Assets/AdSDK/AD/CSJ/Example/Example.unity
path
:
Assets/AdSDK/AD/CSJ/Example/Example.unity
guid
:
1e4f8457b1266154e80399e42b932ceb
guid
:
1e4f8457b1266154e80399e42b932ceb
-
enabled
:
1
-
enabled
:
0
path
:
Assets/AdSDK/InitProject/InitScene.unity
path
:
Assets/AdSDK/InitProject/InitScene.unity
guid
:
b0fdeff412c9a1f4e82faa8ef0aeb063
guid
:
b0fdeff412c9a1f4e82faa8ef0aeb063
-
enabled
:
0
-
enabled
:
0
...
...
ProjectSettings/ProjectSettings.asset
View file @
bc3b7088
...
@@ -17,7 +17,7 @@ PlayerSettings:
...
@@ -17,7 +17,7 @@ PlayerSettings:
defaultCursor
:
{
fileID
:
0
}
defaultCursor
:
{
fileID
:
0
}
cursorHotspot
:
{
x
:
0
,
y
:
0
}
cursorHotspot
:
{
x
:
0
,
y
:
0
}
m_SplashScreenBackgroundColor
:
{
r
:
0.13725491
,
g
:
0.12156863
,
b
:
0.1254902
,
a
:
1
}
m_SplashScreenBackgroundColor
:
{
r
:
0.13725491
,
g
:
0.12156863
,
b
:
0.1254902
,
a
:
1
}
m_ShowUnitySplashScreen
:
1
m_ShowUnitySplashScreen
:
0
m_ShowUnitySplashLogo
:
1
m_ShowUnitySplashLogo
:
1
m_SplashScreenOverlayOpacity
:
1
m_SplashScreenOverlayOpacity
:
1
m_SplashScreenAnimation
:
1
m_SplashScreenAnimation
:
1
...
@@ -175,7 +175,7 @@ PlayerSettings:
...
@@ -175,7 +175,7 @@ PlayerSettings:
androidSupportedAspectRatio
:
1
androidSupportedAspectRatio
:
1
androidMaxAspectRatio
:
2.1
androidMaxAspectRatio
:
2.1
applicationIdentifier
:
applicationIdentifier
:
Android
:
com.ym.
awpdd
Android
:
com.ym.
wdlc
Lumin
:
com.DefaultCompany.com.unity.template.mobile2D
Lumin
:
com.DefaultCompany.com.unity.template.mobile2D
Standalone
:
com.DefaultCompany.com.unity.template.mobile2D
Standalone
:
com.DefaultCompany.com.unity.template.mobile2D
iPhone
:
com.DefaultCompany.com.unity.template.mobile2D
iPhone
:
com.DefaultCompany.com.unity.template.mobile2D
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment