[
https://issues.apache.org/jira/browse/CB-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mohammad Farhad Hossain updated CB-7315:
----------------------------------------
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?
Environment: iOS
> Cordova iOS plugin bridge issue
> -------------------------------
>
> Key: CB-7315
> URL: https://issues.apache.org/jira/browse/CB-7315
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 3.5.0
> Environment: iOS
> 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.2#6252)