Commit 23676d43 authored by leichao.gao's avatar leichao.gao

Merge remote-tracking branch 'origin/master'

parents ee244d12 432f125d
...@@ -10,7 +10,7 @@ android { ...@@ -10,7 +10,7 @@ android {
compileSdk 34 compileSdk 34
defaultConfig { defaultConfig {
applicationId "com.base.datarecovery" applicationId "com.kk.cleanmaster.file.cleanmaster.master"
minSdk 24 minSdk 24
targetSdk 34 targetSdk 34
versionCode 1 versionCode 1
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"client_info": { "client_info": {
"mobilesdk_app_id": "1:286059626470:android:561dad747cfdbdaac0e027", "mobilesdk_app_id": "1:286059626470:android:561dad747cfdbdaac0e027",
"android_client_info": { "android_client_info": {
"package_name": "com.base.datarecovery" "package_name": "com.kk.cleanmaster.file.cleanmaster.master"
} }
}, },
"oauth_client": [], "oauth_client": [],
......
...@@ -29,7 +29,7 @@ object AdmobBannerUtils { ...@@ -29,7 +29,7 @@ object AdmobBannerUtils {
val screenPixelDensity = context.resources.displayMetrics.density val screenPixelDensity = context.resources.displayMetrics.density
val adWidth = (parent.width / screenPixelDensity).toInt() val adWidth = (parent.width / screenPixelDensity).toInt()
val adSize = AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(context, adWidth) val adSize = AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(context, adWidth)
adView?.adUnitId = ConfigHelper.bannerAdmobId adView?.adUnitId = ConfigHelper.bannerMaxId
adView?.setAdSize(adSize) adView?.setAdSize(adSize)
loadCollapsibleBanner() loadCollapsibleBanner()
parent.viewTreeObserver.removeOnGlobalLayoutListener(listener) parent.viewTreeObserver.removeOnGlobalLayoutListener(listener)
......
...@@ -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)
......
...@@ -112,7 +112,7 @@ object AdMaxInterstitialUtils { ...@@ -112,7 +112,7 @@ object AdMaxInterstitialUtils {
val obj2 = JSONObject() val obj2 = JSONObject()
obj2.put("ad_unit", "interAd") obj2.put("ad_unit", "interAd")
EventUtils.event("ad_expire", ext = obj2) EventUtils.event("ad_expire", ext = obj2)
interstitialAd?.loadAd() loadInterstitialAd(activity)
onHidden?.invoke() onHidden?.invoke()
return return
} }
......
...@@ -11,7 +11,7 @@ object ConfigHelper { ...@@ -11,7 +11,7 @@ object ConfigHelper {
const val eventUrl = "https://rp.rocioxyn.xyz" const val eventUrl = "https://rp.rocioxyn.xyz"
const val apiUrl = "https://api.rocioxyn.xyz" const val apiUrl = "https://api.rocioxyn.xyz"
const val admobTrueMaxFlase = true const val admobTrueMaxFlase = false
// admob广告id // admob广告id
const val interAdmobId = "ca-app-pub-3940256099942544/1033173712" const val interAdmobId = "ca-app-pub-3940256099942544/1033173712"
...@@ -20,9 +20,10 @@ object ConfigHelper { ...@@ -20,9 +20,10 @@ object ConfigHelper {
const val bannerAdmobId = "ca-app-pub-3940256099942544/9214589741" const val bannerAdmobId = "ca-app-pub-3940256099942544/9214589741"
//max广告id //max广告id
const val interAdMaxId = "aa" const val interAdMaxId = "b31e7f6d11ee659e"
const val nativeAdMaxId = "bb" const val nativeAdMaxId = "96e8fe78b0efc5d1"
const val openAdMaxId = "cc" const val openAdMaxId = "d1d943cdd3127c90"
const val bannerMaxId = "ca-app-pub-3940256099942544/9214589741"
//一定展示大图广告 //一定展示大图广告
var mustShowNativeAd: Boolean = false var mustShowNativeAd: Boolean = false
......
...@@ -7,11 +7,6 @@ ...@@ -7,11 +7,6 @@
android:orientation="vertical" android:orientation="vertical"
tools:context=".fragment.HomeFragment"> tools:context=".fragment.HomeFragment">
<View
android:layout_width="match_parent"
android:layout_height="40dp"
app:layout_constraintTop_toTopOf="parent" />
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment