-
Notifications
You must be signed in to change notification settings - Fork 889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with cordova-plugin-file@7 Android URLs #339
Comments
Hi, I have also encountered that after installing this plugin the build fails. It is showing incompatibility issues |
me too |
@phusting I have found the solution |
@pixellet14 , AND?! :o) I'm using iOS and Android and I would love to continue to use file-transfer plugin if possible |
@pixellet14 I will give it a try tomorrow. Thanks |
@phusting https://www.npmjs.com/package/cordova-plugin-ns0m-file-transfer |
@pixellet14 you tested with plugin-file v7? |
I get Invalid Version: null |
@phusting what's your cordova version? I am using 11 |
@phusting see this...ignore the Response, as I haven't returned any json response in my serverside Record_2022-10-28-20-04-36.mp4 |
I received that also, however after installing via |
I start wondering if this plugin is still being maintained. |
As @pixellet14 mentioned and posted earlier - this plugin works. I have it loaded and yes, I am able to get it work on both Cordova 11 for both Android@11 and iOS@6.2 (but I have only tested downloads; its all I need it for at the moment) with the following simply function:
|
Hi there,
the new release 7.0.0 of
cordova-plugin-file
changed the format of URLs generated viafile.toURL()
andfile.toInternalURL()
fromcdvfile://localhost/persistent/...
tohttps://localhost/__cdvfile_persistent__/...
on Android. This plugin does not seem to be able to handle them yet.As a workaround, I am currently using
file.nativeURL
, which seems to work quite well.Thanks for looking into it!
The text was updated successfully, but these errors were encountered: