测试,正式包分别打包
This commit is contained in:
parent
a7aee4af57
commit
c3a3a5cfe6
@ -57,27 +57,7 @@ android {
|
|||||||
// 还可以添加 'x86', 'x86_64', 'mips', 'mips64' , 'arm64-v8a'
|
// 还可以添加 '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 {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
@ -116,8 +96,13 @@ android {
|
|||||||
|
|
||||||
productFlavors {
|
productFlavors {
|
||||||
qa {
|
qa {
|
||||||
manifestPlaceholders = [CHANNEL_VALUE: "好运司机测试",
|
applicationId "com.arpa.hndahesudintocctmsdriver.text"
|
||||||
app_icon : "@drawable/diver_logo_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", "OPEN_AL_URL", "\"https://oapi-staging.alct56.com\"")
|
||||||
buildConfigField("String", "BASE_URL", "\"http://app.test.dahehuoyun.com/api/\"")
|
buildConfigField("String", "BASE_URL", "\"http://app.test.dahehuoyun.com/api/\"")
|
||||||
buildConfigField "boolean", "isTest", "true"
|
buildConfigField "boolean", "isTest", "true"
|
||||||
@ -125,8 +110,13 @@ android {
|
|||||||
resValue "string", "appName", "司机测试"
|
resValue "string", "appName", "司机测试"
|
||||||
}
|
}
|
||||||
product {
|
product {
|
||||||
|
applicationId "com.arpa.hndahesudintocctmsdriver"
|
||||||
manifestPlaceholders = [CHANNEL_VALUE: "大河好运司机",
|
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", "OPEN_AL_URL", "\"https://oapi.alct56.com\"")
|
||||||
buildConfigField("String", "BASE_URL", "\"http://app.dahehuoyun.com/api/\"")
|
buildConfigField("String", "BASE_URL", "\"http://app.dahehuoyun.com/api/\"")
|
||||||
buildConfigField "boolean", "isTest", "false"
|
buildConfigField "boolean", "isTest", "false"
|
||||||
|
@ -397,7 +397,7 @@
|
|||||||
</receiver>
|
</receiver>
|
||||||
<provider
|
<provider
|
||||||
android:name="androidx.core.content.FileProvider"
|
android:name="androidx.core.content.FileProvider"
|
||||||
android:authorities="com.arpa.hndahesudintocctmsdriver.fileprovider"
|
android:authorities="${applicationId}.fileprovider"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:grantUriPermissions="true"
|
android:grantUriPermissions="true"
|
||||||
tools:ignore="WrongManifestParent">
|
tools:ignore="WrongManifestParent">
|
||||||
|
Loading…
Reference in New Issue
Block a user