mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-14 07:11:04 +08:00

Added support for an optional options object as the final arg. Currently only handles the options.headers object (as per the issue). `FileTransfer.download(source, target, successCallback, errorCallback, trustAllHosts, options)` This is needed for using FileTransfer.download with Basic Authentication, etc. Sadly since Android 2.x doesn't support XHR2, this is needed in FileTransfer. I have only added support to Android and iOS (see other PR's).