OnPoint
OnPoint is Vote Smart's current issues app.
Read more about OnPointResearch for the Research Departments.
Building
Android
You must have the keystore and password.
NOTE: Android SDK 24 and Ionic ~= 1.7.16 are required.
NOTE: The best way I've found to get the proper Android SDK onto linux is by installing Android Studio. If you have another method, that's fine, but you need to have zipalign available which didn't come with my distro's Android SDK.
Development
To build a development build(not for distribution on Google Play):
ionic build android
Alternatively, you can run a 'live' build with a device connected via USB:
ionic run android
Production
To create a build for distribution on Google Play, use the following.
NOTE: A different key/keystore may be necessary between alpha/beta/production. I saw some docs mention it but have not yet had a beta or production build, so stay tuned.
cordova build android --release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /path/to/onpoint-release.keystore platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk onpoint-release
/path/to/android/sdk/build-tools/25.0.1/zipalign -v 4 platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk /path/to/build/onpoint/onpoint-arm7-2016120501.apk
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /path/to/onpoint-release.keystore platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk onpoint-release
/path/to/android/sdk/build-tools/25.0.1/zipalign -v 4 platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk /path/to/build/onpoint/onpoint-arm7-2016120501.apk
CategorySoftwareProjects