Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2530

Add multiple argument support to callbackFromNative

    XMLWordPrintableJSON

    Details

      Description

      callbackFromNative currently only supports a single argument to the win/fail callback. I would like to implement support for any number of arguments.

      This change would change the api of the callbackFromNative call to expect an array of arguments/message instead of just a single message. The call sites are almost all in cordova-js, so the update should be trivial and not affect any plugins directly.

      The end result will be that MultiPart plugin results on iOS will be able to call callback with the multiple arguments in the way a js function would expect them.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                mmocny Michal Mocny
                Reporter:
                mmocny Michal Mocny
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: