Software Archive
Read-only legacy content
17061 Discussions

white screen after code run (iOS)

Rob_Welan
New Contributor I
447 Views

I am creating an app that performs a couple of ajax calls. For test purposes, I've followed this: https://software.intel.com/en-us/forums/intel-xdk/topic/627947 (to the letter).

I am using Cordova 5.41 and iOS target version 9.0.

I'm pretty sure it's not a splashscreen issue. My splashscreen opens and closes to reveal my app. But then, my code runs and somewhere during this process the white screen appears.

Any ideas?

I'm using geolocation, globalization, inappbrowser, device, statusbar, and splashscreen. I am using ajax calls (which I know are running after debugging, they are successfully returning json data). The versions used are recommended for use with 5.4.1 (I checked).

I am using google maps (embedded in a div), OpenLayers3, openstreetmap, openweathermap, phonon framework (using local i18n language files if that matters...?), material icons (local and appearing before whitescreen cover over), jquery 3.0.0, locationpicker.jquery.js. All work in app preview and emulator.

Help please :-(

0 Kudos
1 Solution
Rob_Welan
New Contributor I
447 Views

I ended up changing frameworks (from http://phonon.quarkdev.com/ to http://materializecss.com/). Phonon is constantly being updated/improved, so, whilst it didn't work for me, the current version may work for you (I really like Phonon, I'm hoping to revisit it one day with better success).

View solution in original post

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
447 Views

I suggest you remove elements of your app, simplify the problem, to isolate the source of the white screen. Sorry, but there is no silver bullet that will explain why you are getting a white screen. It is likely due to some aspect of your app that is blocking the UI from updating. HTML5 is, more or less, a single-threaded system, so anything that blocks the JavaScript engine has the potential of blocking UI updates.

You cited a lot of pieces that make up your app, I recommend you create a simpler version of your app and make sure it works on your iOS device, then build upon that, testing on the actual device each step of the way, to figure out where things are going awry.

0 Kudos
Rob_Welan
New Contributor I
448 Views

I ended up changing frameworks (from http://phonon.quarkdev.com/ to http://materializecss.com/). Phonon is constantly being updated/improved, so, whilst it didn't work for me, the current version may work for you (I really like Phonon, I'm hoping to revisit it one day with better success).

0 Kudos
Reply