Cordova (phonegap build) white page now?


#22

Its a cordova app. Working perfectly when I preview it in Chrome browser, but shows white screen after I build and test it on device. No errors in console.

Building for Android, only plugin is whitelist.

V2.0.6, Running on Cordova 8.0


#23

Connect device to computer, open chrome://inspect/#devices in Chrome and check the issues/errors in console


#24

Got it!!!

I actually had a syntax error on pageinit function of my home page that was messing everything up! I was not able to see it on the normal chrome console, until I inspected the device from Chrome as you suggested.

Thanks a lot for that!

All good now!


#25

how about multiple view(tab view) app, how to enable this back option there?


#26

I resolved it by doing this, thank you :slight_smile:

if (app.views.current.name == ‘view1’) {
view1.router.back();
} else if (app.views.current.name == ‘view2’) {
view2.router.back();
} else if (app.views.current.name == ‘view3’) {
view3.router.back();
}