Ionic j2store
Publish to Google Play

1. Change the app name

Replace the "outfit" string with your app name in the following file j2StoreMobileapp/config.xml

2. Change the app Bundle ID

  • Go to the j2StoreMobileapp/config.xml file and change the 'com.outfit.themeparrot' to your bundle id.

3. Change the App Icon

  • Upload your logo and splash screen to the following URL
  • Icon size : 1024 *1024
  • Splash screen size : 4096 * 4096
Android Publishing :
To generate a release build for Android, we can use the following cordova cli command:
$ ionic cordova build --release android
  • This will generate a release build based on the settings in your config.xml.
  • After build creation, our unsigned APK is available in platforms/android/build/outputs/apk/app-release-unsigned.apk
  • Copy the unsigned APK from theplatforms/android/build/outputs/apk/folder then paste that into the project root directory.

Generate our private key using the key tool:

  • To generate the private key run the following key in the terminal
$ keytool -genkey -v -keystore my-release-key.jks -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
  • You’ll first be prompted to create a password for the key store.
  • Then, answer the rest of the questions and when it’s all done, you should have a file called my-release-key.jks created in the current directory.
Note: Make sure to save this file somewhere safe, if you lose it you won’t be able to submit updates to your app.

Sign the unsigned APK :

  • Run the jarsigner command in the terminal
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.jks unsigned.apk alias_name

Optimize the APK

  • To Optimize the APK run the following command in the terminal
$ zipalign -v unsigned.apk J2storemobileapp.apk
  • Now we have our release APK ready for the Google Play Store.
  • To release the app to the play store kindly follow this instructions
Last modified 4mo ago
Copy link