diff --git a/StatisticReporter/src/main/AndroidManifest.xml b/StatisticReporter/src/main/AndroidManifest.xml index dd6ea36..780dff9 100644 --- a/StatisticReporter/src/main/AndroidManifest.xml +++ b/StatisticReporter/src/main/AndroidManifest.xml @@ -4,5 +4,6 @@ + \ No newline at end of file diff --git a/StatisticReporter/src/main/java/com/gamedog/statisticreporter/adjust/AdjustManager.kt b/StatisticReporter/src/main/java/com/gamedog/statisticreporter/adjust/AdjustManager.kt index 1b095fc..7e8a362 100644 --- a/StatisticReporter/src/main/java/com/gamedog/statisticreporter/adjust/AdjustManager.kt +++ b/StatisticReporter/src/main/java/com/gamedog/statisticreporter/adjust/AdjustManager.kt @@ -18,6 +18,7 @@ import com.gamedog.statisticreporter.adjust.AdjustManager.Companion.USER_TYPE_BU import com.remax.base.ads.AdRevenueData import com.remax.base.ads.AdRevenueManager import com.remax.base.ads.AdRevenueReporter +import com.remax.bill.BuildConfig class AdjustManager private constructor() { @@ -79,7 +80,7 @@ class AdjustManager private constructor() { fun initSdk(appToken: String) { - val isDebug = true + val isDebug = BuildConfig.DEBUG val environment = if (isDebug) AdjustConfig.ENVIRONMENT_SANDBOX else AdjustConfig.ENVIRONMENT_PRODUCTION val config = AdjustConfig(mAppContext, appToken, environment).apply { setLogLevel(if (isDebug) LogLevel.VERBOSE else LogLevel.WARN)