...
- edit
MobileFacts/platforms/android/AndroidManifest.xml
and adjust adjust theandroid:versionCode
(mandatory for new release and ) and theandroid:versionName
- add the SpringPlugin, which includes the mobile sensor to the project
cordova plugin add ../SpringPlugin
- cd into
MobileFacts/platforms/android
and executeant release
- sign the apk:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -signedjar ../bin/MobileFacts-release-signed.apk -keystore ../keys/keystore-android ../bin/MobileFacts-release-unsigned.apk mobile-facts
- align the apk:
zipalign 4 bin/MobileFacts-release-signed.apk bin/MobileFacts-release-signed-aligned.apk
...