You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try using cordova.file.* constants instead of the cdvfile urls.
Note that the currently released version of this plugin is still an old version that was released before this plugin was revived. The development version (in github master branch) contains several fixes that you may need for the plugin to be usable.
There are problems with cdvfile: urls on WKWebView on iOS, and now with WebAssetLoader used on cordova-android >= 10. Despite the file transfer documentation still using them in it's examples, cdvfile support may be dropped, (iOS schemes and Android's WebAssetLoader kinda makes them obsolete anyway).
I did a simple copy and paste:
`var fileTransfer = new FileTransfer();
var uri = encodeURI("https://www.radiomatese.it/Download/RadioMatese.apk");
var fileURL = "cdvfile://localhost/persistent/path/to/downloads/";
But it doesn't matter what am I wrong?
The text was updated successfully, but these errors were encountered: