keystore configuration for Android - onlinepractice/react-native GitHub Wiki
React Native Android Keystore
Prepare a React Native app for release on Android
Generates a release keystore, updates your local gradle configuration and finally updates the app's gradle config.
This package assumes that you created your react-native project using react-native init.
Installation
npm install react-native-android-keystore -g
Usage
react-native-android-keystore Private
Ref: https://www.npmjs.com/package/react-native-android-keystore
Here is the execution details:
$ npm install react-native-android-keystore -g
/usr/local/bin/react-native-android-keystore -> /usr/local/lib/node_modules/react-native-android-keystore/lib/index.js
bash-3.2$ react-native-android-keystore
Generating a release keystore What is your first and last name? [Unknown]: Sanjeev Vaishya What is the name of your organizational unit? [Unknown]: onlinepractice What is the name of your organization? [Unknown]: bizicon What is the name of your City or Locality? [Unknown]: melbourne What is the name of your State or Province? [Unknown]: victoria What is the two-letter country code for this unit? [Unknown]: 61 Is CN=Sanjeev Vaishya, OU=onlinepractice, O=bizicon, L=melbourne, ST=victoria, C=61 correct? [no]: yes
Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 10,000 days
for: CN=Sanjeev Vaishya, OU=onlinepractice, O=bizicon, L=melbourne, ST=victoria, C=61
Enter key password for
(RETURN if same as keystore password):
[Storing ./android/app/authentication-release-key.keystore]
Updating your local gradle properties file