Backing up Android keystore using Expo - Do we need to save the associated passwords?

Viewed 8622

When you run expo fetch:android:keystore it shows the follow:

Configuring credentials for myApp in project myApp
Keystore credentials
  Keystore password: 1234567890abcdef1234567890abcdef
  Key alias:         1234567890abcdef1234567890abcd==
  Key password:      1234567890abcdef1234567890abcdef

  Path to Keystore:  C:\projects\myApp\myApp.jks

My question is, do we need to separately store the passwords and alias, or only the .jks file?

This is not made clear in the relevant Expo documentation.

1 Answers

you need both, when you build the same apk with a different expo account, you have to run:

expo build:android 

then you have to configure your credentials choosing "I want to upload my own file".

you have to use your file.jks

and enter your alias an passwords info.


In case you've already set a wrong key, run:

expo build:android --clear-credentials
Related