Generating a keystore
Finding Keystore
- You need to find the debug and release keystore
- Before releasing the app you need to sign the apk with release keystore
- Note: For debug.keystore default password is
android
- You can get
SHA1 fingerprint using this method
keytool -list -v -keystore {keystore-path}
Signing apk with keystore
zipalign -v -p 4 Baatcheet/Baatcheet.Android/bin/${BUILD_TYPE}/com.baatcheet.baatcheet.apk Baatcheet/Baatcheet.Android/bin/${BUILD_TYPE}/com.baatcheet.baatcheet.zipaligned.apk
apksigner sign -ks Keystores/Baatcheet.keystore --ks-pass pass:${{secrets.KEYSTORE_PASS}} --in Baatcheet/Baatcheet.Android/bin/${BUILD_TYPE}/com.baatcheet.baatcheet.zipaligned.apk --out Baatcheet/Baatcheet.Android/bin/${BUILD_TYPE}/${BINARY_NAME}.apk
zipalign -v -p 4 AR3.apk AR3.zipaligned.apk
apksigner sign -ks ../../KartoosKeystore.keystore --ks-pass pass:"Kartoos#00" --in AR3.zipaligned.apk --out AR3_signed.apk
Sign a .aab
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore my_keystor_file.keystore -storepass 'super_secret_keystore_pass' -keypass 'super_secret_alias_password' my-app-bundle.aab myKeyStoreAlias
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore ../KartoosKeystore.keystore -storepass "Kartoos#00" -keypass "Kartoos#00" AR2.aab KKeystore