You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2018/01/10 19:40:00 UTC

[jira] [Commented] (CB-13769) Camera DestinationType.BLOB and/or DestinationType.ARRAY_BUFFER

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

Joe Bowser commented on CB-13769:
---------------------------------

[~maxwell.battcher@stantec.com] Do you know which browsers support the version of JS that has binary types? We still support Jellybean, which is stuck on an old version of Chrome, so adding this would most likely mean dropping an Android version in the near future.

> Camera DestinationType.BLOB and/or DestinationType.ARRAY_BUFFER
> ---------------------------------------------------------------
>
>                 Key: CB-13769
>                 URL: https://issues.apache.org/jira/browse/CB-13769
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-camera
>            Reporter: Max Battcher
>
> Given that JS has binary types now (Blob, ArrayBuffer), it seems to me like it would be useful if Cordova plugins would support directly returning a Blob and/or ArrayBuffer, such that can be directly sent to IndexedDB or used in a binary XHR send, without intermediate steps from URIs/files. In my needs this would be most useful for the Camera plugin, but I'm sure other plugins would apply here as well. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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