Whitescreen issue in a device


#1

I develop an app using ionic and my app is work fine in browser but when i install in device and run it.
it shows blank white screen.

I had use the localStorage in my app to save user preferences.
is it gives this kind of issue?

if it is then please suggest me any other options for working like this.

I just want to store the TOKEN which is provided by http request as JSON when the user use the app first time…
then in next time use i just get TOKEN and identify this like watsapp.

MY SYSTEM INFORMATION AS BELOW
Cordova CLI: 6.1.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Version: 1.3.0
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
OS: Windows 8
Node Version: v4.4.1


#2

u install it at android device? u need to debug it through android studio to know what is the missing item. i also face the same problem before.


#3

what i miss?

can you explain it briefly?


#4

have u tried debug your apps via android monitor?


#5

I had solved the white screen issue.

In my app code i use new javaScript Coding style for looping statement and that doesn’t support in ionic mobile app so i had use the traditional looping statement and then it works fine.

i recommended that ionic will update for it and that new and short code of the looping statement supported.