Created
March 26, 2019 11:25
-
-
Save dharavp/5556ad49d3cb0a2100164f9f4273846c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create normal build in android react native | |
//to generate signing keystore | |
keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 | |
// in app level build.gradle | |
signingConfigs { | |
debug { | |
storeFile file("../keystores/debug.keystore") | |
storePassword "android" | |
keyAlias "androiddebugkey" | |
keyPassword "android" | |
} | |
release { | |
storeFile file("../keystores/live_keystore.keystore") | |
storePassword "android" | |
keyAlias "androidSignKey" | |
keyPassword "android" | |
} | |
} | |
// in your buildTypes | |
releaseStaging { | |
signingConfig signingConfigs.debug | |
matchingFallbacks=['debug','release'] | |
} | |
create a build using | |
./gradlew assembleReleaseStaging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment