You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/09/17 23:54:34 UTC

[jira] [Updated] (CB-7315) [iOS 8] Cordova iOS plugin bridge issue in Xcode 6

     [ https://issues.apache.org/jira/browse/CB-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-7315:
---------------------------------
    Summary: [iOS 8] Cordova iOS plugin bridge issue in Xcode 6  (was: Cordova iOS plugin bridge issue in Xcode 6 (iOS 8))

> [iOS 8] Cordova iOS plugin bridge issue in Xcode 6
> --------------------------------------------------
>
>                 Key: CB-7315
>                 URL: https://issues.apache.org/jira/browse/CB-7315
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>    Affects Versions: 3.5.0
>         Environment: iOS 8 beta
>            Reporter: Mohammad Farhad Hossain
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)