I have an Android - Cordova Project.
When index.html
(main page) page is loaded, on Android 5.1 (real phone) only shows a white screen.
When I minimize app by the phone's home button and go back again, using task manager, the page loads normally as expected.
I found a similar question, where someone argued about WitheList
plugin which I added to my project.
Answers are likely about to make a delay using setTimeout
, which I applied, with no success.
I have some local css
and js
files in index.html
.
In onDeviceReady.js
file, I call load
method to set the html content for a div
, add some click button functions and re-size some div
s in setTimeout
and an addEventListener
.
What's the reason for this?