简体   繁体   中英

Phonegap App Works in iOS 6 but not iOS 5

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!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM