[6.7.0] multi
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
project.android.productFlavors {
|
||||
bailing {
|
||||
dimension "role"
|
||||
applicationId "com.mogo.launcher.rk.passenger"
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
@@ -9,11 +10,11 @@ project.android.productFlavors {
|
||||
}
|
||||
|
||||
manifestPlaceholders = [
|
||||
CHANNEL_VALUE_BODY : "Driver",
|
||||
CHANNEL_VALUE_BODY : "Passenger",
|
||||
]
|
||||
|
||||
// ①标识
|
||||
buildConfigField 'String', 'APP_IDENTITY_MODE_BODY', "\"Driver\""
|
||||
buildConfigField 'String', 'APP_IDENTITY_MODE_BODY', "\"Passenger\""
|
||||
|
||||
}
|
||||
}
|
||||
@@ -63,7 +63,7 @@ object ConfigStartUp {
|
||||
// 这里影响当前Activity的身份信息,多进程,主进程为司机端,:passenger 进程为乘客端
|
||||
// TODO emArrow isMultiDisplay暂时不启用,仅测试3588,在B2 2024车预研
|
||||
if (DebugConfig.isMultiDisplay()) {
|
||||
if(ProcessUtils.getCurrentProcessName().contains(":passenger")){
|
||||
if(ProcessUtils.getCurrentProcessName().contains("passenger")){
|
||||
FunctionBuildConfig.appIdentityMode = "Product_Passenger_${BuildConfig.APP_IDENTITY_MODE_TAIL}"
|
||||
}else{
|
||||
FunctionBuildConfig.appIdentityMode = "Product_Driver_${BuildConfig.APP_IDENTITY_MODE_TAIL}"
|
||||
@@ -125,9 +125,6 @@ object ConfigStartUp {
|
||||
//白天模式
|
||||
FunctionBuildConfig.skinMode = 1
|
||||
}
|
||||
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
|
||||
}
|
||||
|
||||
val mapParams = MapParams.init()
|
||||
mapParams.setDebugMode(false)
|
||||
|
||||
Reference in New Issue
Block a user