You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/08/31 00:46:10 UTC
[jira] [Commented] (CB-1258) Add documentation for the new logic to
toggle between different exec() techniques on iOS.
[ https://issues.apache.org/jira/browse/CB-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445375#comment-13445375 ]
Shazron Abdullah commented on CB-1258:
--------------------------------------
For xhr:
{code}
var exec = cordova.require('cordova/exec');
exec.setJsToNativeBridgeMode(exec.jsToNativeModes.XHR_OPTIONAL_PAYLOAD);
{code}
For iframe:
{code}
var exec = cordova.require('cordova/exec');
exec.setJsToNativeBridgeMode(exec.jsToNativeModes.IFRAME_NAV);
{code}
I just don't know where to really put it.
> Add documentation for the new logic to toggle between different exec() techniques on iOS.
> -----------------------------------------------------------------------------------------
>
> Key: CB-1258
> URL: https://issues.apache.org/jira/browse/CB-1258
> Project: Apache Cordova
> Issue Type: Task
> Components: Docs, iOS
> Affects Versions: 2.1.0
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Fix For: 2.1.0
>
>
> Docs for this change: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=d5a72028
> It defaults to the existing iframe.src method, so existing users are not affected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira