diff --git a/app/build.gradle b/app/build.gradle index a9745da..4702578 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -28,11 +28,15 @@ android { minifyEnabled false } release { - minifyEnabled false + minifyEnabled true debuggable false firebaseCrashlytics { mappingFileUploadEnabled false } + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) } } diff --git a/app/config_debug.gradle b/app/config_debug.gradle index 27d705f..88e441b 100644 --- a/app/config_debug.gradle +++ b/app/config_debug.gradle @@ -24,7 +24,7 @@ ext { // TopOn配置 topon = [applicationId: "h1h0ukemtu13ak", // TopOn 应用 ID(需替换为实际值) appKey : "7d3af77b0803cbc641888cb393e8652e", // TopOn 应用密钥(需替换为实际值) - adUnitIds : [ interstitial: "", //"n1h0ukemvrnhn1", // 插页广告位 ID(需替换为实际值) // TODO- if use this alway report error: placementId maybe is null + adUnitIds : [ interstitial: "n1h0ukemvrnhn1", //"n1h0ukemvrnhn1", // 插页广告位 ID(需替换为实际值) // TODO- if use this alway report error: placementId maybe is null rewarded : "n1h0uken0i262r", // 激励广告位 ID native : "", // 原生广告位 ID(需替换为实际值) splash : "", // 开屏广告位 ID(需替换为实际值)