Phonegap-android: location.reload () does not fire the deviceready event

In Phonegap 1.1.0 - android, when window.location.reload () is called, the deviceready event does not fire. Has anyone experienced the same issue? Is there a solution to the problem?

+4
source share
1 answer

You are using a template:

<body onload="onLoad()"> 

then

 window.onLoad = () -> document.addEventListener "deviceready", onDeviceReady, false 

?

0
source

All Articles