[
https://issues.apache.org/jira/browse/CB-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595556#comment-13595556
]
Shazron Abdullah commented on CB-2621:
--------------------------------------
cordova-js commits:
1.
https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commit;h=090ab8737ec27d33609b69d2b7d01fe4567c1511
2.
https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commit;h=d179d3b5af20d52b811fb2007e23b0a17123f8ba
3.
https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commit;h=6df50c0eedbc3eb3b9143e43c8ddb32bb664185c
> Add the cordova.exec bridge for OS X
> ------------------------------------
>
> Key: CB-2621
> URL: https://issues.apache.org/jira/browse/CB-2621
> Project: Apache Cordova
> Issue Type: New Feature
> Components: CordovaJS, Mac
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Fix For: 2.6.0
>
>
> 1. Signature, in order:
> https://github.com/apache/cordova-ios/blob/b8796d1130b64169835d8acbaaa4c9e2de8a321d/CordovaLib/cordova.ios.js#L904
> This uses the callbackId opaque reference for callbacks, we are not going to
> do direct callbacks using the JavaScriptCore C API to keep it consistent with
> iOS (for possible plugin dual platform use).
> 2. Register the bridge object under window.cordovabridge, and the exec
> function is:
> cordovabridge.exec(callbackId, service, action, actionArgs);
> 3. Create the exec function in cordova-js
> 4. Create sample plugins (based on CDVPlugin), conform to iOS signature (we
> already have one, Notification, that can be adapted)
--
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