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.
source
share