coinotc / coinotc-mobile

CoinOTC Hybrid Mobile App - Android & iOS
2 stars 0 forks source link
camera cordova fcm firebase hybrid-apps ionic ionic3 jwt mobile typescript

angularfire2 fix

Extract to the angularfire2 directory under node_modules folder. https://github.com/angular/angularfire2/files/1977627/dist.zip

Build error if this is not applied.

User Guide

Click Here

Legend

-[x] Waiting For Approval/ DONE


Issue Checklist


How to enable livereload

Ubuntu 16.04 not working

Coinmarket Cap API won't work with livereload.

Production Builds (ANDROID)

To run or build your app for production, run

ionic cordova plugin add cordova-plugin-ionic-webview
ionic cordova plugin remove cordova-plugin-wkwebview-engine
ionic cordova run android --release
# or
ionic cordova build android --release

This will minify your app’s code as Ionic’s source and also remove any debugging capabilities from the APK. This is generally used when deploying an app to the Google Play Store.

keytool -genkey -v -keystore coinotc-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias coinotc-alias

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore coinotc-release-key.jks ./platforms/android/build/outputs/apk/android-release-unsigned.apk coinotc-alias

rm -rf ./platforms/android/build/outputs/apk/coinotc-release.apk

zipalign -v 4 ./platforms/android/build/outputs/apk/android-release-unsigned.apk ./platforms/android/build/outputs/apk/coinotc-release.apk

apksigner verify ./platforms/android/build/outputs/apk/coinotc-release.apk

Production Builds (IOS)

ionic cordova build ios