IONIC (Cordova wrapper)
Links User Angular.js a javascript library
- 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
<script src="lib/ionic/js/angular/angular-resource.min.js"></script>
- ionic.bundle.js is a concatenation of:
- Just in case anyone else runs across this thread, angular-resource is not bundled with ionic.
Publish a app
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
- Remove debug console
- $ cordova plugin rm org.apache.cordova.console
generate a release build for Android. Edit config.xml
- $ cordova build --release android
- Sign the release apk
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name
- zip align
$ zipalign -v 4 HelloWorld-release-unsigned.apk HelloWorld.apk
- Go to playstore and publish
...