I am facing some problems with the release version of the apk, these problems happen only with the release version while the debug version works perfectly.
- Cordova plugins not loaded always when you close and open the app different times.
- Ionic Deploy not injected and it’s always undefined.
- Create a new ionic2 app with side menu
- Add a cordova plugin, ed OneSignal
- Add ionic deploy
- Init/inject both the plugins (and use them )
- Build and install on a simulator/device
$ ionic build android --prod --release $ zipalign -v -p 4 android-release-unsigned.apk android-release-unsigned-al.apk $ apksigner sign -ks my-release-key.jks --out myapp.apk android-release-unsigned-al.apk
I also opened an issue, but they said to ask here. Any help? Thanks.