Have installed cordova-plugin-whitelist plugin too - so there is no issue with application accessing outside data(API).
When I use ionic run android -lcs everything works file, with no errors, and it gets installed on to the device(am using Nexus 5) and it works perfectly fine.
Problem
But when I follow this http://ionicframework.com/docs/guide/publishing.html and get my .apk file and install it on to the device, it stops working. After the splash screen there is a white screen and it never goes away!
Iāve tried the following 1. Itās not an issue with internet connection. 2. Iāve used adb uninstall com.myapp.myapp_id and then have installed the app, but still the probelm persists. 3. Iāve removed ionic and cordova and reinstalled it - still no use. 4. Iāve removed the platform(android) and added again, then compiled. - still no use.
Anyone else faced/facing the issue? Did you find the solutions?
Please share your findings.
You donāt see in anything in console?
Have you tried to set a breakpoint in debugger at the beginning of your app and step until you get the problem?
There are no errors in the log. I checked it thoroughly. And it runs very smoothly when I use ionic run android -lcs but it shows blank white screen only when I build the apk file and install it.
Looks like iām having nearly same problem. Just after i have installed ionic push plugin, android app stop showing anything. It goes smoothly on iOS, but on android app shows white screen.
When using ionic run android -l -c -s, ionic CLI builds my app, and thenā¦ NOTHING) Absolutely)
Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Version: 1.1.1
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.5
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v0.12.7
Xcode version: Xcode 7.2.1 Build version 7C1002
Have tried reinstall push plugin and ionic-platform-web-client
Android version of push plugin need a gcm_key that it takes from settings, but when i checked .io-config, i havenāt saw any gcm_key even considering that I have specified the key while installation with --variable.
For now, i have specified it again with $ ionic config set gcm_key "MY_KEY" and waiting for emulator.