Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
3.5.0
-
None
-
None
-
iOS 8 beta
Description
I'm trying to build a cordova plugin for iOS. When I run it on Simulator (Using Xcode 6 beta), the plugin method is not called. Then I created a new project and added other standard plugins (such as device, contact, camera plugins of cordova). These plugins also don't work. After some research, I found that, if I remove the following line of code from cordova.js - everything works fine:
bridgeMode = navigator.userAgent.indexOf(' 5_') == -1 ? jsToNativeModes.IFRAME_NAV: jsToNativeModes.XHR_NO_PAYLOAD;
Method name:
function iOSExec()
May be this is a bug of cordova framework.
Does anybody have solution to this bug?