So I have built this Cordova 4.0 app which works fine on Android, but when running on my iPhone I run into an error.
When launching the app I get a white screen for about two minutes and in the Xcode console it says Resetting plugins due to page load.
On SO I have found some suggested solutions to this error:
1. Resetting plugins due to page load
This one looks reasonable because it suggests it's a problem with jQuery Mobile which I am using. However, I don't use $.changePage();
anywhere in my code. Also, it would appear that this is solved in Cordova 4.0 https://issues.apache.org/jira/browse/CB-2602
2. Phonegap/Cordova 3.1 Resetting plugins due to page load
This one concludes that this is an error message you can safely ignore. In my case, I can't really ignore those two minute of white screen.
Here's the code which is loaded on app-load: http://pastebin.com/zSAYkdUB
What can be done?