Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
F
File Recovery RecycleBin
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
File Recovery RecycleBin
Commits
34d33492
Commit
34d33492
authored
Jul 19, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
4713605a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
9 deletions
+12
-9
build.gradle
app/build.gradle
+1
-1
google-services.json
app/google-services.json
+1
-1
AdMaxInit.kt
...java/com/base/filerecoveryrecyclebin/ads/max/AdMaxInit.kt
+6
-5
AdMaxNativeUtils.kt
...m/base/filerecoveryrecyclebin/ads/max/AdMaxNativeUtils.kt
+2
-0
ConfigHelper.kt
...java/com/base/filerecoveryrecyclebin/help/ConfigHelper.kt
+2
-2
No files found.
app/build.gradle
View file @
34d33492
...
...
@@ -10,7 +10,7 @@ android {
compileSdk
34
defaultConfig
{
applicationId
"com.
base.filerecoveryrecyclebin
"
applicationId
"com.
kk.cleanmaster.file.cleanmaster.master
"
minSdk
24
targetSdk
34
versionCode
1
...
...
app/google-services.json
View file @
34d33492
...
...
@@ -9,7 +9,7 @@
"client_info"
:
{
"mobilesdk_app_id"
:
"1:286059626470:android:561dad747cfdbdaac0e027"
,
"android_client_info"
:
{
"package_name"
:
"com.
base.filerecoveryrecyclebin
"
"package_name"
:
"com.
kk.cleanmaster.file.cleanmaster.master
"
}
},
"oauth_client"
:
[],
...
...
app/src/main/java/com/base/filerecoveryrecyclebin/ads/max/AdMaxInit.kt
View file @
34d33492
...
...
@@ -17,7 +17,8 @@ object AdMaxInit {
fun
Context
.
initAdMax
()
{
// If you want to test your own AppLovin SDK key, change the value here and update the package name in the build.gradle
val
YOUR_SDK_KEY
=
"05TMDQ5tZabpXQ45_UTbmEGNUtVAzSTzT6KmWQc5_CuWdzccS4DCITZoL3yIWUG3bbq60QC_d4WF28tUC4gVTF"
// val YOUR_SDK_KEY = "05TMDQ5tZabpXQ45_UTbmEGNUtVAzSTzT6KmWQc5_CuWdzccS4DCITZoL3yIWUG3bbq60QC_d4WF28tUC4gVTF"
val
YOUR_SDK_KEY
=
"GGPreND6SRmCt1zJgn5faiLGD8c2PVGPLgPpSg7cHanVTud1DhtuI9MmteTqlEviaJ57WnxW68kQDaATJ5z3cW"
val
executor
=
Executors
.
newSingleThreadExecutor
();
executor
.
execute
{
...
...
@@ -26,10 +27,10 @@ object AdMaxInit {
initConfigBuilder
.
mediationProvider
=
AppLovinMediationProvider
.
MAX
// Enable test mode by default for the current device. Cannot be run on the main thread.
val
currentGaid
=
AdvertisingIdClient
.
getAdvertisingIdInfo
(
this
).
id
if
(
currentGaid
!=
null
)
{
initConfigBuilder
.
testDeviceAdvertisingIds
=
Collections
.
singletonList
(
currentGaid
)
}
//
val currentGaid = AdvertisingIdClient.getAdvertisingIdInfo(this).id
//
if (currentGaid != null) {
//
initConfigBuilder.testDeviceAdvertisingIds = Collections.singletonList(currentGaid)
//
}
// Initialize the AppLovin SDK
val
sdk
=
AppLovinSdk
.
getInstance
(
this
)
...
...
app/src/main/java/com/base/filerecoveryrecyclebin/ads/max/AdMaxNativeUtils.kt
View file @
34d33492
...
...
@@ -52,6 +52,8 @@ object AdMaxNativeUtils {
loadingListener
?.
invoke
()
loadingListener
=
null
LogEx
.
logDebug
(
TAG
,
"onNativeAdLoadFailed"
)
LogEx
.
logDebug
(
TAG
,
"code=${p1.code}"
)
LogEx
.
logDebug
(
TAG
,
"message=${p1.message}"
)
AdDisplayUtils
.
getInstance
().
incrementAdRequestFailCount
()
val
obj2
=
JSONObject
()
obj2
.
put
(
"reason"
,
"no_ad"
)
...
...
app/src/main/java/com/base/filerecoveryrecyclebin/help/ConfigHelper.kt
View file @
34d33492
...
...
@@ -19,8 +19,8 @@ object ConfigHelper {
const
val
openAdmobId
=
"/6499/example/app-open"
const
val
bannerAdmobId
=
"ca-app-pub-3940256099942544/9214589741"
const
val
interAdMaxId
=
"
YOUR_AD_UNIT_ID
"
const
val
nativeAdMaxId
=
"
YOUR_AD_UNIT_ID
"
const
val
interAdMaxId
=
"
b31e7f6d11ee659e
"
const
val
nativeAdMaxId
=
"
96e8fe78b0efc5d1
"
const
val
openAdMaxId
=
"YOUR_AD_UNIT_ID"
const
val
bannerMaxId
=
"ca-app-pub-3940256099942544/9214589741"
...
...
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