cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Created] (CB-2621) Add the cordova.exec bridge for OS X
Date Tue, 05 Mar 2013 07:11:12 GMT
Shazron Abdullah created CB-2621:

             Summary: Add the cordova.exec bridge for OS X
                 Key: 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:

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

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:

View raw message