Commit c30ad4d7 authored by wanglei's avatar wanglei

...

parent c25c318b
......@@ -5,18 +5,18 @@ package com.base.scanqrclear
*/
object GlobalConfig {
//包名
const val PACKAGE_NAME = "com.clearscan.code.deeplink"
const val PACKAGE_NAME = "com.scan.barcode.deeplink"
// 域名
/**
* Url Event 上报接口
*/
const val URL_EVENT = "https://rp.sekanderali32.xyz"
const val URL_EVENT = "https://rp.gamexzonerk.xyz"
/**
* Url Api 业务接口
*/
const val URL_API = "https://api.sekanderali32.xyz"
const val URL_API = "https://api.gamexzonerk.xyz"
/**
* Url Privacy 隐私链接
......@@ -31,7 +31,7 @@ object GlobalConfig {
/**
* Key Aes 加密key
*/
const val KEY_AES = "tv8zigh4pjym2kjo"
const val KEY_AES = "o3yb8vzeptlki1ve"
/**
* Key solar 归因key
......
......@@ -34,7 +34,6 @@ import com.base.scanqrclear.utils.AppPreferences
import com.base.scanqrclear.utils.LogEx
import com.base.scanqrclear.utils.SolarEngineUtils.initSolarEngine
import com.base.scanqrclear.utils.SolarEngineUtils.solarkey
import com.base.scanqrclear.utils.WriteLogEx.writeLogFile
import com.facebook.FacebookSdk
import com.google.android.gms.ads.identifier.AdvertisingIdClient
import com.google.gson.Gson
......@@ -172,6 +171,7 @@ class MyApplication : Application() {
}
InstallHelps.init {
LogEx.logDebug(TAG, "InstallHelps initRemoteConfig")
initRemoteConfig()
}
}.start()
......@@ -246,8 +246,8 @@ class MyApplication : Application() {
}
private fun initRemoteConfig() {
LogEx.logDebug(TAG, "initRemoteConfig")
NewComUtils.requestCfg { config ->
LogEx.logDebug(TAG, "initRemoteConfig config=$config")
if (config != null) {
AppPreferences.getInstance().put("config", config)
LogEx.logDebug("requestCfg", "config=$config")
......@@ -280,7 +280,7 @@ class MyApplication : Application() {
//通知
PopupConfigBean.popupConfigBean = configBean.popupConfigBean
LogEx.logDebug("initConfig", "popupConfigBean=${PopupConfigBean.popupConfigBean.timerInterval}")
LogEx.logDebug("initConfig", "popupConfigBean=${PopupConfigBean.popupConfigBean.popupHoverStatus}")
//启动定时器
changeTimer()
......
......@@ -28,7 +28,7 @@ object AlarmUtils {
val oneHour = 60 * 60 * 1000L
var delay = oneHour * hour
if (BuildConfig.DEBUG) {
delay = 1 * 60 * 1000L
// delay = 1 * 60 * 1000L
}
alarmManager.setRepeating(
AlarmManager.RTC_WAKEUP, calendar.timeInMillis, delay, pendingIntent
......
......@@ -91,7 +91,7 @@ object MyNotificationManager {
val next = actionIdList[0]
actionIdList.removeAt(0)
if (BuildConfig.DEBUG) {
return ACTION_ID_EARTHQUAKE
// return ACTION_ID_EARTHQUAKE
}
return next
}
......
......@@ -65,6 +65,7 @@ object InstallHelps {
}
override fun onInstallReferrerServiceDisconnected() {
requestCfg()
}
})
}
......
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