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/17 21:41:38 UTC

[jira] [Created] (CB-1258) Add documentation for the new logic to toggle between different exec() techniques on iOS.

Shazron Abdullah created CB-1258:
------------------------------------

             Summary: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1258) Add documentation for the new logic to toggle between different exec() techniques on iOS.

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Commented] (CB-1258) Add documentation for the new logic to toggle between different exec() techniques on iOS.

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446204#comment-13446204 ] 

Michael Brooks commented on CB-1258:
------------------------------------

Ok, that will work. Distributions such as PhoneGap can reference the cordova-ios/guides documentation however they please (e.g. their wiki).
                
> 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

[jira] [Resolved] (CB-1258) Add documentation for the new logic to toggle between different exec() techniques on iOS.

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-1258.
----------------------------------

    Resolution: Fixed

Fix commit http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/6d4790ab
                
> 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

[jira] [Commented] (CB-1258) Add documentation for the new logic to toggle between different exec() techniques on iOS.

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446201#comment-13446201 ] 

Shazron Abdullah commented on CB-1258:
--------------------------------------

I'll add it to cordova-ios/guides until we can find a better place.
                
> 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

[jira] [Commented] (CB-1258) Add documentation for the new logic to toggle between different exec() techniques on iOS.

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446036#comment-13446036 ] 

Michael Brooks commented on CB-1258:
------------------------------------

Since it's iOS only, I'm not sure where the appropriate place it either. Perhaps a short guide around the use-case and code?
                
> 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