修改谷歌内购逻辑

This commit is contained in:
wushaocheng
2022-09-29 19:01:32 +08:00
parent 54b45b3ca2
commit 090454aaa0
9 changed files with 51 additions and 32 deletions

View File

@@ -32,6 +32,17 @@ android {
flavorDimensions 'default'
}
bundle {
language {
enableSplit = false
}
density {
enableSplit = true
}
abi {
enableSplit = true
}
}
//在apk文件后边生成版本号信息
android.applicationVariants.all {
@@ -127,7 +138,7 @@ android {
buildTypes {
release {
// buildConfigField "String", "BASE_URL", "\"https://api.lecheng163.com/\""
buildConfigField "String", "BASE_URL", "\"https://beta.api.pekolive.com/\""
buildConfigField "String", "BASE_URL", "\"http://beta.api.pekolive.com/\""
buildConfigField "String", "BASE_URL_DEBUG", "BASE_URL"
buildConfigField "String", "BASE_URL_STAGING", "BASE_URL"
buildConfigField "String", "BASE_URL_RELEASE", "BASE_URL"
@@ -138,7 +149,7 @@ android {
}
debug {
buildConfigField "String", "BASE_URL", "\"https://beta.api.pekolive.com/\""
buildConfigField "String", "BASE_URL", "\"http://beta.api.pekolive.com/\""
buildConfigField "String", "BASE_URL_DEBUG", "BASE_URL"
buildConfigField "String", "BASE_URL_STAGING", "\"https://api.lecheng163.com/\""
buildConfigField "String", "BASE_URL_RELEASE", "\"https://api.lecheng163.com/\""