how to create keystore for android-react native repository

    • Open a command window/terminal and switch to that directory.
    • Then run:
    • Keytool prompts you to provide passwords for the Keystore, the Distinguished Name fields, and the password for your key. It then generates the Keystore as a file called my-release-key.keystore in the directory, you’re in. The Keystore and key are protected by the passwords you entered. The Keystore contains a single key, valid for 10000 days. The alias_name is a name that you — will use later, to refer to this Keystore when signing your application.
    • Convert Keystore to pkcs12
    • for more information on signing Android apps go here: http://developer.android.com/tools/publishing/app-signing.html
    • You can also watch a video on this – https://youtu.be/0UwnF4tsXtY?t=74
    • https://reactnative.dev/docs/signed-apk-android
Updated on Feb 23, 2023