|
@@ -149,6 +149,13 @@ android {
|
|
|
keyAlias 'androiddebugkey'
|
|
|
keyPassword 'android'
|
|
|
}
|
|
|
+ release {
|
|
|
+ storeFile file(MYAPP_RELEASE_STORE_FILE)
|
|
|
+ storePassword MYAPP_RELEASE_STORE_PASSWORD
|
|
|
+ keyAlias MYAPP_RELEASE_KEY_ALIAS
|
|
|
+ keyPassword MYAPP_RELEASE_KEY_PASSWORD
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
buildTypes {
|
|
|
debug {
|
|
@@ -157,9 +164,10 @@ android {
|
|
|
release {
|
|
|
// Caution! In production, you need to generate your own keystore file.
|
|
|
// see https://facebook.github.io/react-native/docs/signed-apk-android.
|
|
|
- signingConfig signingConfigs.debug
|
|
|
+ // signingConfig signingConfigs.debug
|
|
|
minifyEnabled enableProguardInReleaseBuilds
|
|
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
|
|
+ signingConfig signingConfigs.release
|
|
|
}
|
|
|
}
|
|
|
// applicationVariants are e.g. debug, release
|