测试,正式包分别打包

This commit is contained in:
lijia 2023-10-11 09:45:39 +08:00
parent a7aee4af57
commit c3a3a5cfe6
2 changed files with 14 additions and 24 deletions

View File

@ -57,27 +57,7 @@ android {
// 'x86', 'x86_64', 'mips', 'mips64' , 'arm64-v8a'
}
manifestPlaceholders = [
JPUSH_PKGNAME : applicationId,
JPUSH_APPKEY : "571d93ae5117da6dee848c92", //JPush Appkey.
JPUSH_CHANNEL : "developer-default", //.
MEIZU_APPKEY : "MZ-魅族的APPKEY",
MEIZU_APPID : "MZ-魅族的APPID",
XIAOMI_APPID : "MI-小米的APPID",
XIAOMI_APPKEY : "MI-小米的APPKEY",
OPPO_APPKEY : "OP-oppo的APPKEY",
OPPO_APPID : "OP-oppo的APPID",
OPPO_APPSECRET: "OP-oppo的APPSECRET",
VIVO_APPKEY : "vivo的APPKEY",
VIVO_APPID : "vivo的APPID"
]
}
// sourceSets {
// main {
// jniLibs.srcDirs = ['libs']
// }
// }
sourceSets {
main {
@ -116,8 +96,13 @@ android {
productFlavors {
qa {
manifestPlaceholders = [CHANNEL_VALUE: "好运司机测试",
app_icon : "@drawable/diver_logo_text"]
applicationId "com.arpa.hndahesudintocctmsdriver.text"
manifestPlaceholders = [CHANNEL_VALUE: "司机测试",
app_icon : "@drawable/diver_logo_text",
JPUSH_PKGNAME: applicationId,
JPUSH_APPKEY : "571d93ae5117da6dee848c92", //JPush Appkey.
JPUSH_CHANNEL: "developer-default"//.
]
buildConfigField("String", "OPEN_AL_URL", "\"https://oapi-staging.alct56.com\"")
buildConfigField("String", "BASE_URL", "\"http://app.test.dahehuoyun.com/api/\"")
buildConfigField "boolean", "isTest", "true"
@ -125,8 +110,13 @@ android {
resValue "string", "appName", "司机测试"
}
product {
applicationId "com.arpa.hndahesudintocctmsdriver"
manifestPlaceholders = [CHANNEL_VALUE: "大河好运司机",
app_icon : "@drawable/diver_logo"]
app_icon : "@drawable/diver_logo",
JPUSH_PKGNAME: applicationId,
JPUSH_APPKEY : "571d93ae5117da6dee848c92", //JPush Appkey.
JPUSH_CHANNEL: "developer-default"//.
]
buildConfigField("String", "OPEN_AL_URL", "\"https://oapi.alct56.com\"")
buildConfigField("String", "BASE_URL", "\"http://app.dahehuoyun.com/api/\"")
buildConfigField "boolean", "isTest", "false"

View File

@ -397,7 +397,7 @@
</receiver>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.arpa.hndahesudintocctmsdriver.fileprovider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true"
tools:ignore="WrongManifestParent">