You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/10/07 21:20:35 UTC

[jira] [Resolved] (CB-7707) Implement a multipart Plugin Result for Android

     [ https://issues.apache.org/jira/browse/CB-7707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-7707.
-------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 2.6.0)

Fixed in 3.7.0-dev

> 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
>
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org