Skip to content

Instantly share code, notes, and snippets.

@fernandomr
Created December 9, 2019 13:09
Show Gist options
  • Save fernandomr/54846f356cff2b7b482c6bd1dfc3006d to your computer and use it in GitHub Desktop.
Save fernandomr/54846f356cff2b7b482c6bd1dfc3006d to your computer and use it in GitHub Desktop.
ionic_commands
# start a Ionic angular blank project
ionic start YOURAPPNAME blank --type=angular
# running ionic cordova, where platform = android or ios
ionic cordova run PLATFORM
# Building ionic prod release:
ionic cordova build android --prod --release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore [YOUR_KEYSTORE.jks] app-release-unsigned.apk [YOUR_KEY_ALIAS]
# zipalign is on Android/Sdk/build-tools/VERSION
./zipalign -v 4 app-release-unsigned.apk [YOUR_NEW_APK_NAME.apk]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment