Compare commits
2 Commits
pack/v5.38
...
pack/v5.32
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c2a2faa9c | |||
| 10ce97102d |
@ -5,8 +5,8 @@ import com.kwai.monitor.log.TurboAgent
|
||||
import com.kwai.monitor.log.TurboConfig
|
||||
|
||||
object KuaishouHelper {
|
||||
private val mAppId by lazy { BuildConfig.SDK_APP_ID.ifEmpty { "81537" } }
|
||||
private val mAppName by lazy { BuildConfig.SDK_APP_NAME.ifEmpty { "guanghuanzhushou_1" } }
|
||||
private val mAppId by lazy { BuildConfig.SDK_APP_ID.ifEmpty { "86833" } }
|
||||
private val mAppName by lazy { BuildConfig.SDK_APP_NAME.ifEmpty { "GHZS_PRO_01" } }
|
||||
|
||||
@JvmStatic
|
||||
fun init(context: Context, channel: String) {
|
||||
|
||||
@ -35,11 +35,8 @@ class FlavorProviderImp : IFlavorProvider {
|
||||
}
|
||||
|
||||
override fun getChannelStr(application: Application): String {
|
||||
var channel = if (BuildConfig.USE_DEFAULT_CHANNEL_SDK) {
|
||||
ChannelReaderUtil.getChannel(application)
|
||||
} else {
|
||||
TurboHelper.getChannel(application)
|
||||
}
|
||||
var channel = TurboHelper.getChannel(application)
|
||||
|
||||
if (channel == null || TextUtils.isEmpty(channel.trim())) {
|
||||
channel = KUAISHOU_CHANNEL
|
||||
}
|
||||
@ -60,6 +57,6 @@ class FlavorProviderImp : IFlavorProvider {
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val KUAISHOU_CHANNEL = "KS-GHZS-01"
|
||||
private const val KUAISHOU_CHANNEL = "KS_GHPRO_01"
|
||||
}
|
||||
}
|
||||
@ -29,8 +29,8 @@ class PkgConfigProviderImpl: IPkgConfigProvider {
|
||||
|
||||
configList.add(sdk)
|
||||
if (BuildConfig.FLAVOR == "kuaishou") {
|
||||
configList.add("appid: ${BuildConfig.SDK_APP_ID.ifEmpty { "81537" }}")
|
||||
configList.add("appname: ${BuildConfig.SDK_APP_NAME.ifEmpty { "guanghuanzhushou_1"}}")
|
||||
configList.add("appid: ${BuildConfig.SDK_APP_ID.ifEmpty { "86833" }}")
|
||||
configList.add("appname: ${BuildConfig.SDK_APP_NAME.ifEmpty { "GHZS_PRO_01"}}")
|
||||
}
|
||||
|
||||
configList.add(HaloApp.getInstance().channel)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 19 KiB |
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">光环助手</string>
|
||||
<string name="app_name">光环助手PRO</string>
|
||||
|
||||
<!-- OkHttp MockWebServer 会影响 LeakCanary 的使用,这里是一个 workaround -->
|
||||
<!-- https://github.com/square/leakcanary/commit/9f932016d49c44250f8c8e4651a862ac537eb1e9 -->
|
||||
|
||||
@ -16,9 +16,9 @@ object TeaHelper {
|
||||
|
||||
@JvmStatic
|
||||
fun init(context: Context, activity: Activity, channel: String) {
|
||||
val config = InitConfig("163824", channel)
|
||||
val config = InitConfig("560888", channel)
|
||||
config.setUriConfig(UriConstants.DEFAULT)
|
||||
config.appName = "guanghuan1"
|
||||
config.appName = "GHZS_PRO_01"
|
||||
config.setEnablePlay(true)
|
||||
config.isImeiEnable = false
|
||||
config.isMacEnable = false
|
||||
|
||||
@ -47,7 +47,7 @@ class FlavorProviderImp : IFlavorProvider {
|
||||
override fun getChannelStr(application: Application): String {
|
||||
var channel = HumeSDK.getChannel(application)
|
||||
if (channel == null || TextUtils.isEmpty(channel.trim())) {
|
||||
channel = "GH_733"
|
||||
channel = "T_GHPRO_01"
|
||||
}
|
||||
return channel
|
||||
}
|
||||
|
||||
@ -9,7 +9,7 @@ ext {
|
||||
// application info (每个大版本之间的 versionCode 增加 20)
|
||||
versionCode = 995
|
||||
versionName = "5.32.5"
|
||||
applicationId = "com.gh.gamecenter"
|
||||
applicationId = "ghzspro.com"
|
||||
|
||||
// AndroidX
|
||||
core = "1.3.2"
|
||||
|
||||
@ -48,8 +48,8 @@
|
||||
|
||||
<string name="icp">备案查询入口</string>
|
||||
<string name="icp_url">https://beian.miit.gov.cn/</string>
|
||||
<string name="icp_serial_number">粤ICP备17080876号-5A</string>
|
||||
<string name="icp_serial_numb_desc">APP备案号:粤ICP备17080876号-5A</string>
|
||||
<string name="icp_serial_number">粤ICP备17080876号-9A</string>
|
||||
<string name="icp_serial_numb_desc">APP备案号:粤ICP备17080876号-9A</string>
|
||||
|
||||
<string name="loading">加载中...</string>
|
||||
<string name="loading_more_hint">上拉加载</string>
|
||||
|
||||
Reference in New Issue
Block a user