Pir Shukarullah Shah
Pir Shukarullah Shah

Reputation: 4242

What is the purpose of keystores folder in react-native android project

I am currently struggling a bit with react native. I have successfully generated singed APK, followed steps mentioned in docs. I have found that react-native android has different directory structure than the android-studio. There is folder with the name of keystore inside the react-native android project. What is purpose of that folder? Do I need to keep my keystore inside it? While doc say's place keystore file under the android/app directory.

Please share your thoughts. Thanks.

enter image description here

Upvotes: 6

Views: 3374

Answers (1)

aug
aug

Reputation: 11714

If you ever want to publish your app to the Play Store, you need to sign your app so that the Play Store can distinguish that it is actually you who is publishing to the store. The keystore file is as mentioned:

A keystore is a binary file that contains one or more private keys. When you sign an APK for release using Android Studio, you can choose to generate a new keystore and private key or use a keystore and private key you already have. You should choose a strong password for your keystore, and a separate strong password for each private key stored in the keystore. You must keep your keystore in a safe and secure place. See Securing Your Private Key, below.

Related links:

Upvotes: 2

Related Questions