mardi 1 avril 2014

UI Rendering Delayed Until After Store Load with Phonegap

I am running into what seems to be a very odd issue when using Sencha Touch 2.3.1 and Phonegap 3.4.0.



If I do not include the cordova.js file in my index.html, my app's splash screen is visible momentarily and then a standard Sencha Touch loadmask is visible until the primary store has finished loading. This is the desired behavior.



If I do include the cordova.js file in my index.html, the splash screen transitions to a white screen with no Sencha Touch UI. The UI only appears when the primary store has finished loading.



If I place HTML in the body, it is visible so PhoneGap does appear to be blocking rendering.



Does anyone have a guess at why this rendering behavior might be different when the only change is whether the cordova.js file is included?



Thanks!




Aucun commentaire:

Enregistrer un commentaire