[ 
https://issues.apache.org/jira/browse/CB-7707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14162347#comment-14162347
 ] 

ASF subversion and git services commented on CB-7707:
-----------------------------------------------------

Commit fbeb379f1b2102d9d0739f92340c932bdc47873b in cordova-android's branch 
refs/heads/4.0.x from Rui Zhao
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=fbeb379 ]

CB-7707 Added multipart PluginResult (close #125)

Corresponds to cordova-js commit: a1f866606b3


> Implement a multipart Plugin Result for Android
> -----------------------------------------------
>
>                 Key: CB-7707
>                 URL: https://issues.apache.org/jira/browse/CB-7707
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Android, CordovaJS, iOS
>    Affects Versions: 3.7.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.6.0
>
>
> We added multipart messages to iOS, and added support to the bridge for 
> Android, but never actually implemented a way to send multiple messages.
> This is specifically required because ArrayBuffers are only decoded if they 
> are a top-level argument (cannot be nested within a JSON object), and so you 
> cannot send a reply with both an ArrayBuffer and another argument (string 
> descriptor for example).
> We've previously hacked around this by using "keepCallback" and expecting 
> multiple messages with different arguments, but it leads to complicated state 
> transfers and is quite inefficient.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to