Commit b058f5fb authored by maxiaoliang's avatar maxiaoliang

修改id 和 类型转换异常的崩溃

parent cf105dd8
......@@ -12,7 +12,7 @@ android {
compileSdk 34
defaultConfig {
applicationId "com.test.easy.easycleanerjunk"
applicationId "com.kk.cleanmaster.file.cleanmaster.master"
minSdk 24
//noinspection EditedTargetSdkVersion
targetSdk 34
......
......@@ -22,7 +22,7 @@ class ConfigBean() {
var outcomeReturnCount: Int = 0//每次从结果页面关闭到首页时
var outcomeReturnHomeCount: Int = 0//返回主页弹几次
var dayoutcomeHomePage: Int = 0 //第二次打开到首页开关
var maxShowNotificationCount: String = ""
var maxShowNotificationCount: Int = 0
var admobTrueMaxFlase: Int = 0
}
......@@ -91,7 +91,7 @@ public class NotificationUtil {
public static void sendNotification(Context context,String type) {
int currentNum = SPUtils.getInstance().getInt("showNotificationCount_" + AdDisplayUtils.getInstance().getCurrentDate(), 0);
int maxNum = Integer.parseInt(SPUtils.getInstance().getString("maxShowNotificationCount", "156"));
int maxNum = SPUtils.getInstance().getInt("maxShowNotificationCount", 156);
if (currentNum >= maxNum) {
// LogEx.logDebug("glc","currentNum >= maxNum");
return;
......
......@@ -22,9 +22,9 @@ object ConfigHelper {
const val openAdmobId = "/6499/example/app-open"
//max广告id
const val interMaxId = "636e57ec33ac5698"
const val nativeMaxId = "63d874bafb4c4841"
const val openMaxId = "1fce760852e47224"
const val interMaxId = "b31e7f6d11ee659e"
const val nativeMaxId = "96e8fe78b0efc5d1"
const val openMaxId = "d1d943cdd3127c90"
// 正式包名
const val packageName = "com.kk.junkcleaner.easy.zxkk"
......
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