Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
D
Data Recovery White
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
wanglei
Data Recovery White
Commits
4911d0ad
Commit
4911d0ad
authored
Jul 18, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
71079e16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
AdMaxInit.kt
app/src/main/java/com/base/datarecovery/ads/max/AdMaxInit.kt
+4
-4
AdMaxInterstitialUtils.kt
...a/com/base/datarecovery/ads/max/AdMaxInterstitialUtils.kt
+1
-1
No files found.
app/src/main/java/com/base/datarecovery/ads/max/AdMaxInit.kt
View file @
4911d0ad
...
@@ -27,10 +27,10 @@ object AdMaxInit {
...
@@ -27,10 +27,10 @@ object AdMaxInit {
initConfigBuilder
.
mediationProvider
=
AppLovinMediationProvider
.
MAX
initConfigBuilder
.
mediationProvider
=
AppLovinMediationProvider
.
MAX
// Enable test mode by default for the current device. Cannot be run on the main thread.
// Enable test mode by default for the current device. Cannot be run on the main thread.
//
val currentGaid = AdvertisingIdClient.getAdvertisingIdInfo(this).id
val
currentGaid
=
AdvertisingIdClient
.
getAdvertisingIdInfo
(
this
).
id
//
if (currentGaid != null) {
if
(
currentGaid
!=
null
)
{
//
initConfigBuilder.testDeviceAdvertisingIds = Collections.singletonList(currentGaid)
initConfigBuilder
.
testDeviceAdvertisingIds
=
Collections
.
singletonList
(
currentGaid
)
//
}
}
// Initialize the AppLovin SDK
// Initialize the AppLovin SDK
val
sdk
=
AppLovinSdk
.
getInstance
(
this
)
val
sdk
=
AppLovinSdk
.
getInstance
(
this
)
...
...
app/src/main/java/com/base/datarecovery/ads/max/AdMaxInterstitialUtils.kt
View file @
4911d0ad
...
@@ -133,7 +133,7 @@ object AdMaxInterstitialUtils {
...
@@ -133,7 +133,7 @@ object AdMaxInterstitialUtils {
obj2
.
put
(
"reason"
,
"no ad"
)
obj2
.
put
(
"reason"
,
"no ad"
)
obj2
.
put
(
"ad_unit"
,
"interAd"
)
obj2
.
put
(
"ad_unit"
,
"interAd"
)
EventUtils
.
event
(
"ad_show_error"
,
ext
=
obj2
)
EventUtils
.
event
(
"ad_show_error"
,
ext
=
obj2
)
interstitialAd
?.
loadAd
(
)
loadInterstitialAd
(
activity
)
LogEx
.
logDebug
(
TAG
,
"isReady=false"
)
LogEx
.
logDebug
(
TAG
,
"isReady=false"
)
showAdDialogAndLoadInterstitial
(
activity
)
showAdDialogAndLoadInterstitial
(
activity
)
}
}
...
...
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