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

Filip Maj resolved CB-13053.
----------------------------
    Resolution: Information Provided
      Assignee: Filip Maj

Turfing file transfer in favour of XHR is a no brainer in this case.

The API is so much smaller and focussed. Better integrated with binary file 
formats.

Great overview provided here: 
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Sending_and_Receiving_Binary_Data#Sending_binary_data

My test app, which I've tried with browsers and android, is here: 
https://github.com/filmaj/xhr2test

> Do a comparison between file-transfer and XHR2 to inform file-transfer 
> sunsetting
> ---------------------------------------------------------------------------------
>
>                 Key: CB-13053
>                 URL: https://issues.apache.org/jira/browse/CB-13053
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: cordova-plugin-file-transfer
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>              Labels: plugins-next
>
> XHR2 is widely supported on mobile and desktop these days. As part of the 
> effort to sunset cordova-plugin-file-transfer, it would be good to inform 
> ourselves about the support for XHR2 features on core cordova platforms 
> (including different platform versions).
> This task would encompass building a PoC app replicating file-transfer 
> features (perhaps the file-transfer manual tests page?) using XHR2.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to