Skip to content

Instantly share code, notes, and snippets.

@Blankeos
Last active October 16, 2024 06:39
Show Gist options
  • Select an option

  • Save Blankeos/c6ba678d063711e847b8c4a088d18f9f to your computer and use it in GitHub Desktop.

Select an option

Save Blankeos/c6ba678d063711e847b8c4a088d18f9f to your computer and use it in GitHub Desktop.
Mobile App Deployment

You're definitely here because:

Stuff you know so far:

  1. Developing the app
  2. Bundling for Debugging

Google Playstore

Stuff you don't know:

  • Keystores, Keystore Password
  • Package Names e.g. com.example.todo
  • Android Versions e.g.

Upload Keystore (generate and keep somewhere safe) I got this from Defold

keytool -genkey -v -noprompt -dname "CN=John Smith, OU=Area 51, O=US Air Force, L=Unknown, ST=Nevada, C=US" -keystore mykeystore.keystore -storepass 5Up3r_53cR3t -alias myAlias -keyalg RSA -validity 9125

Can use the Filipino placeholders alternative version.

# Common Name (CN): Your full name or the name of your server/application.
# Organizational Unit (OU): Your department or division.
# Organization (O): Your company or organization's official name.
# Locality (L): Your city (e.g., Iloilo City).
# State or Province (ST): Your state or province (e.g., Iloilo Province).
# Country (C): The country code (PH for the Philippines).

keytool -genkey -v -noprompt -dname "CN=Juan Dela Cruz, OU=IT Department, O=ABC Corporation, L=Manila, ST=Metro Manila, C=PH" -keystore mykeystore.keystore -storepass 5Up3r_53cR3t -alias myAlias -keyalg RSA -validity 9125

keytool -genkey -v -noprompt -dname "CN=Carlo Antonio Taleon, OU=Owner, O=Digiaktt Studios, L=Iloilo City, ST=Iloilo, C=PH" -keystore release.keystore -storepass kattdig123 -alias releaseAlias -keyalg RSA -validity 9125

Convert the .keystore to pem. Just so you know .keystore and .jks are the same.

You do this if you need to reset the upload keystore or doing it for the first time.

image
keytool -export -rfc -keystore upload-keystore.jks -alias upload -file upload_certificate.pem

For new apps, upload an AAB bundle

For existing apps, only important settings are Package Name and Android Version (increase) for each upload.

Where to upload

TODO:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment