Reputation: 11725
All that happens in iOS 5 is the 'DeviceReady' and 'Load' events being fired and all of my files are being loaded
My stack includes:
Cordova 2.2.0rc2
Phonegap ChildBrowser
Phonegap InAppPurchaseManager
BackboneJS
UnderscoreJS
jQuery 1.8.1
jQueryMobile 1.2.0
RequireJS
ParseJS
I can see that the files have loaded because I have the corresponding JS objects:
CDV
window.plugins.childBrowser
window.plugins.inAppPurchaseManager
Backbone
_
$
$.mobile
require
Parse
However, the step that isn't happening is RequireJS loading the main.js
file. And why this doesn't happen for iOS 5 when it happens for iOS 6 is extremely confusing.
Any ideas on why this may be happening? I'm very open to trying things.
Thanks a lot!
Upvotes: 2
Views: 637
Reputation: 2368
You could use Weinre to debug the application remotely. This blog post at phonegap.com explains how you can use Weinre to debug your application. It should display any JavaScript errors that your app might produce.
Upvotes: 1