Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7043 iOS 8 Support
  3. CB-7315

[iOS 8] Cordova iOS plugin bridge issue in Xcode 6

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.5.0
    • None
    • cordova-ios
    • 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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            rubelbd82 Mohammad Farhad Hossain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: