|
|
@@ -116,6 +116,7 @@ android { |
|
|
|
targetSdkVersion rootProject.ext.targetSdkVersion |
|
|
|
versionCode = getVersionCode() |
|
|
|
versionName getVersionName() |
|
|
|
missingDimensionStrategy 'react-native-camera',"general" |
|
|
|
} |
|
|
|
|
|
|
|
android.applicationVariants.all { variant -> |
|
|
@@ -144,9 +145,9 @@ android { |
|
|
|
} |
|
|
|
buildTypes { |
|
|
|
debug { |
|
|
|
buildConfigField "String", "API_HOST", "\"https://mall.youlane.cn/\"" |
|
|
|
buildConfigField "String", "CODEPUSH_HOST", "\"https://update.youlane.cn/\"" |
|
|
|
buildConfigField "String", "CODEPUSH_KEY", "\"8snO1yoHlvhEtBjr02zTr3g1comw4ksvOXqog\"" |
|
|
|
buildConfigField "String", "API_HOST", "\"https://admin.malls.iformall.com/\"" |
|
|
|
buildConfigField "String", "CODEPUSH_HOST", "\"https://update.malls.iformall.com/\"" |
|
|
|
buildConfigField "String", "CODEPUSH_KEY", "\"9rYZYySFD0ryN5wCD9YmjJkT55Kf4ksvOXqog\"" |
|
|
|
} |
|
|
|
release { |
|
|
|
buildConfigField "String", "API_HOST", "\"https://admintest.malls.iformall.com/\"" |
|
|
@@ -187,7 +188,7 @@ dependencies { |
|
|
|
implementation project(':react-native-code-push') |
|
|
|
implementation fileTree(dir: "libs", include: ["*.jar"]) |
|
|
|
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" |
|
|
|
implementation "com.facebook.react:react-native:+" // From node_modules |
|
|
|
implementation "com.facebook.react:react-native:0.59.9" // From node_modules |
|
|
|
} |
|
|
|
|
|
|
|
// Run this once to be able to run the application with BUCK |
|
|
|