#format wiki #language en = IONIC (Cordova wrapper) = * Links User [[Angular.js]] a [[javascript]] library * http://mcgivery.com/structure-of-an-ionic-app/ * Bundled with ionic * Just in case anyone else runs across this thread, angular-resource is not bundled with ionic. * ionic.bundle.js is a concatenation of: * ionic.js, angular.js, angular-animate.js, angular-sanitize.js, angular-ui-router.js, ionic-angular.js * To add, add to index.html, right after ionic-bundle.js {{{ }}} == Publish a app == 1. Only once gen key for app, stored in '''my-release-key.keystore''' * $ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 1. Remove debug console * $ cordova plugin rm org.apache.cordova.console 1. generate a release build for Android. Edit '''config.xml''' * $ cordova build --release android 1. Sign the release apk * $ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore !HelloWorld-release-unsigned.apk alias_name 1. zip align * $ zipalign -v 4 !HelloWorld-release-unsigned.apk !HelloWorld.apk 1. Go to playstore and publish * https://play.google.com/apps/publish/ ...