Phonegap / ios7 - deviceready event does not fire upon reboot

Our hybrid Phonegap app works great when it loads first. In this case, it is clear that the deviceready event is triggered correctly and the application is triggered. No problems.

We have a requirement to restart the application at some point. We just do location.reload () in index.html (the main application html file). Here the problem starts with ios 7 devices. The application does not start, and it seems that deviceready does not start.

My questions:

1) In ios 7 devices, is the deviceready fired only once?
2) If it is so, how can we catch it when we reload the application?

We do not have this problem on Android devices.

+3
source share
2 answers

What is your version of Phonegap? We also had this problem with 3.0, we upgraded to 3.3 , and it seems to be fixed with this!

0

( "PhoneGap Build", ). , ios , - ( ), , , , deviceready. , 3.6.3 3.3. 3.4 3.5.

, , , . iOS, Android.

0

All Articles