You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michal Mocny (JIRA)" <ji...@apache.org> on 2013/02/25 19:38:12 UTC
[jira] [Resolved] (CB-2530) Add multiple argument support to
callbackFromNative
[ https://issues.apache.org/jira/browse/CB-2530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Mocny resolved CB-2530.
------------------------------
Resolution: Fixed
Done, as part of iOS MultiPart argument return CB-2239
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/f4142e7d
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/5bd34923
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/62421ee4
> Add multiple argument support to callbackFromNative
> ---------------------------------------------------
>
> Key: CB-2530
> URL: https://issues.apache.org/jira/browse/CB-2530
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CordovaJS, iOS
> Reporter: Michal Mocny
> Assignee: Michal Mocny
> Fix For: 2.6.0
>
>
> 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.
--
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