Skip to content

Instantly share code, notes, and snippets.

@d0rsha
Last active March 27, 2019 19:15
Show Gist options
  • Save d0rsha/cdd7242f555888c0b8b2b89c987411c2 to your computer and use it in GitHub Desktop.
Save d0rsha/cdd7242f555888c0b8b2b89c987411c2 to your computer and use it in GitHub Desktop.
[Deployment] Setting up Ionic for development #ionic

Deployment build Ionic Prototype

__ Update your version in config.xml__

Test in browser before

ionic cordova run browser --prod --release 

ionic cordova resources
ionic cordova build android --prod --release
## --prod compress apk && uses the 'prod' envrionment at build time, --release makes the app signable (so that it can be pusblished in marketplace)

## Only first time 
keytool -genkey -v -keystore avrethem-keystore.keystore -alias avrethem-keystore -keyalg RSA -keysize 2048 -validity 10000

## Always
cp avrethem-keystore.keystore platforms/android/app/build/outputs/apk/release/.
cd platforms/android/app/build/outputs/apk/release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore avrethem-keystore.keystore app-release-unsigned.apk avrethem-keystore

/home/d0rsha/Android/Sdk/build-tools/28.0.3/zipalign -v 4 app-release-unsigned.apk IonicRestaurant2.apk

Deployment build CalcoMaster 7000

## Only first time 
keytool -genkey -v -keystore calco-master-release-key.keystore -alias calco-master -keyalg RSA -keysize 2048 -validity 10000

## Always
cp calco-master-release-key.keystore platforms/android/app/build/outputs/apk/release/.
cd platforms/android/app/build/outputs/apk/release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore calco-master-release-key.keystore app-release-unsigned.apk calco-master

/home/d0rsha/Android/Sdk/build-tools/28.0.3/zipalign -v 4 app-release-unsigned.apk CalcoMaster.apk

https://ionicframework.com/docs/publishing/play-store

[Ionic migration] Migration notes Ionic 3 -> Ionic 4 #ionic

Deprecated

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