自动注册隐藏bug
This commit is contained in:
parent
4dc6c55eb6
commit
337f57506d
|
|
@ -179,15 +179,9 @@ class SplashActivity : BaseActivity() {
|
||||||
MainApplication.KEY2 = ss1
|
MainApplication.KEY2 = ss1
|
||||||
MainApplication.IV2 = ss2
|
MainApplication.IV2 = ss2
|
||||||
//加密
|
//加密
|
||||||
val byteArrayToHexStrOne =
|
// val byteArrayToHexStrOne =
|
||||||
AESUtil.byteArrayToHexStr(AESUtil.encrypt("https://api.zeuslinks.com+https://api.zeusjoin.com"))
|
// AESUtil.byteArrayToHexStr(AESUtil.encrypt("https://api.zeuslinks.com+https://api.zeusjoin.com"))
|
||||||
android.util.Log.i("AAAAAAAAAAAAAAAA","data::"+byteArrayToHexStrOne+"::")
|
// android.util.Log.i("AAAAAAAAAAAAAAAA","data::"+byteArrayToHexStrOne+"::")
|
||||||
|
|
||||||
|
|
||||||
val byteArrayToHexStrTwo =
|
|
||||||
AESUtil.byteArrayToHexStr(AESUtil.encrypt("https://api.cloudactionpro.com+https://api.actioncloudpro.com"))
|
|
||||||
android.util.Log.i("BBBBBBBBBBBBBBBB","data::"+byteArrayToHexStrTwo+"::")
|
|
||||||
|
|
||||||
val routerSet =
|
val routerSet =
|
||||||
MMKV.defaultMMKV().decodeStringSet(BZYConstants.MMKV_KEY_ROUTER_HOST)
|
MMKV.defaultMMKV().decodeStringSet(BZYConstants.MMKV_KEY_ROUTER_HOST)
|
||||||
if (routerSet != null && routerSet.size > 0) {
|
if (routerSet != null && routerSet.size > 0) {
|
||||||
|
|
@ -324,8 +318,9 @@ class SplashActivity : BaseActivity() {
|
||||||
launch {
|
launch {
|
||||||
webView?.setOnTouchListener { _, _ -> true }
|
webView?.setOnTouchListener { _, _ -> true }
|
||||||
pb_web?.visibility = View.VISIBLE
|
pb_web?.visibility = View.VISIBLE
|
||||||
|
doRegisterByEncryption()
|
||||||
}
|
}
|
||||||
doRegisterByEncryption()
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ subprojects {
|
||||||
}
|
}
|
||||||
productFlavors {
|
productFlavors {
|
||||||
flavorDimensions("feature")
|
flavorDimensions("feature")
|
||||||
create("9973") {
|
create("1001") {
|
||||||
isDefault = true
|
isDefault = true
|
||||||
dimension = flavorDimensionList[0]
|
dimension = flavorDimensionList[0]
|
||||||
buildConfigField("boolean", "PREMIUM", "Boolean.parseBoolean(\"false\")")
|
buildConfigField("boolean", "PREMIUM", "Boolean.parseBoolean(\"false\")")
|
||||||
|
|
@ -111,7 +111,7 @@ subprojects {
|
||||||
buildConfigField("String", "applicationId", "\"com.yingmao.clash\"")
|
buildConfigField("String", "applicationId", "\"com.yingmao.clash\"")
|
||||||
buildConfigField("String", "service_url", "\"https://api.readzhe.top\"")
|
buildConfigField("String", "service_url", "\"https://api.readzhe.top\"")
|
||||||
buildConfigField("boolean", "is_free", "false")
|
buildConfigField("boolean", "is_free", "false")
|
||||||
buildConfigField("String", "productId", "\"9973\"")
|
buildConfigField("String", "productId", "\"1001\"")
|
||||||
manifestPlaceholders(
|
manifestPlaceholders(
|
||||||
mapOf(
|
mapOf(
|
||||||
"APP_NAME" to "@string/zl",
|
"APP_NAME" to "@string/zl",
|
||||||
|
|
@ -121,7 +121,7 @@ subprojects {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sourceSets {
|
sourceSets {
|
||||||
getByName("9973") {
|
getByName("1001") {
|
||||||
java.srcDirs("src/foss/java")
|
java.srcDirs("src/foss/java")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue