javascript - White screen after load page in cordova android app - Android 5.1 -
i have android - cordova project.
when index.html (main page) page loaded, on android 5.1 (real phone) shows white screen.
when minimize app phone's home button , go again, using task manager, page loads expected.
i found similar question, argued withelist plugin added project.
answers make delay using settimeout, applied, no success.
i have local css , js files in index.html.
in ondeviceready.js file, call load method set html content div, add click button functions , re-size divs in settimeout , addeventlistener.
what's reason this?
waaaauuu!!!
i upgrade jquery v2.2 , problem solved!. new challenge , new experience.
i start debug real device android 5.1.1 (samsung s6) , see there error: validate_display:255 error 3008 (egl_bad_display) after search don't find useful answer (like this). guessed 1 or more javascript file(s) make bug (white screen problem), remove js files tags index.html , add 1 one. yes, jquery file version cause problem. upgrade v1.11 v2.2.
Comments
Post a Comment