Cordova-plugin-file-transfer

We recently blocked this plugin, but it’s back again. You can continue to use it.

Here’s the backstory. In short, Cordova recommends the use of XMLHttpRequest instead:

"As a result, Cordova is sunsetting the file-transfer plugin. What does “sunsetting” mean? In summary:

  • No more work will be done on the file-transfer plugin by the Cordova development community.
  • You can continue to use the file-transfer plugin if you wish - it should work fine as-is for the foreseeable future.
  • We highly suggest Cordova users transition to using the standards-compliant way of sending and receiving binary data.

All of us at Apache Cordova don’t want to leave y’all hanging, though, so we thought it’d be a good idea to show you how to use these newer XHR features to do what file-transfer lets you do, but in a way that will work in any modern web browser to boot!"

cordova-plugin-file-transfer won’t work in all cases, Since it’s older, it can confict with other plugins. VoltBuilder will give an error message when this happens.