You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2022/06/14 09:52:58 UTC
[GitHub] [cordova-plugin-file-transfer] kryops opened a new issue, #339: Compatibility with cordova-plugin-file@7 Android URLs
kryops opened a new issue, #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339
Hi there,
the new release 7.0.0 of `cordova-plugin-file` changed the format of URLs generated via `file.toURL()` and `file.toInternalURL()` from `cdvfile://localhost/persistent/...` to `https://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!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] phusting commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
phusting commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1287837279
@pixellet14 , AND?! :o)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1287652329
@phusting I have found the solution
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1295076994
@phusting what's your cordova version? I am using 11
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] terryjiang2020 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by "terryjiang2020 (via GitHub)" <gi...@apache.org>.
terryjiang2020 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1439269467
I start wondering if this plugin is still being maintained.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1288044277
try this plugin
https://www.npmjs.com/package/cordova-plugin-file-transfer-latest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1292258196
@phusting https://www.npmjs.com/package/cordova-plugin-ns0m-file-transfer
This works!!! trust me!! i have just tried it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] michaelpeterlee commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
michaelpeterlee commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1379459987
> > @phusting https://www.npmjs.com/package/cordova-plugin-ns0m-file-transfer This works!!! trust me!! i have just tried it
>
> I get **Invalid Version: null**
I received that also, however after installing via `npm` and then via `cordova` it built albeit does not solve the problem still.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1295076566
what's your cordova version? i am using 11
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1169730008
Hi, I have also encountered that after installing this plugin the build fails. It is showing incompatibility issues
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1295080095
@phusting
https://user-images.githubusercontent.com/17765617/198649780-10a0e47c-02f9-4c90-ad9d-3a4499a6dba9.mp4
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] rolinger commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by "rolinger (via GitHub)" <gi...@apache.org>.
rolinger commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1450747708
> > @phusting https://www.npmjs.com/package/cordova-plugin-ns0m-file-transfer This works!!! trust me!! i have just tried it
>
> I get **Invalid Version: null**
As @pixellet14 mentioned and posted earlier - this plugin works. I have it loaded and yes, I am able to get it work (but I have only tested downloads; its all I need it for at the moment) with the following simply function:
```
function DownloadFile(urlFile,newFileName,storage_location){
var fileTransfer = new FileTransfer();
var folderpath=storage_location+newFileName ; //The path is added here.
var onSuccess= function(entry){
console.log("download complete: " + entry.fullPath);
};
var onError=function(error) {
console.log("download error source " + error.source);
console.log("download error target " + error.target);
console.log("upload error code " + error.code);
};
fileTransfer.download(urlFile,folderpath,onSuccess,onError);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] phusting commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
phusting commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1292441781
@pixellet14 you tested with plugin-file v7?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] phusting commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
phusting commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1288138310
@pixellet14 I will give it a try tomorrow. Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] phusting commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
phusting commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1287168538
me too
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1288044311
> @pixellet14 , AND?! :o) I'm using iOS and Android and I would love to continue to use file-transfer plugin if possible
try this plugin
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] pixellet14 commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
pixellet14 commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1288044398
@phusting try this plugin https://www.npmjs.com/package/cordova-plugin-file-transfer-latest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-file-transfer] phusting commented on issue #339: Compatibility with cordova-plugin-file@7 Android URLs
Posted by GitBox <gi...@apache.org>.
phusting commented on issue #339:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/339#issuecomment-1292481153
> @phusting https://www.npmjs.com/package/cordova-plugin-ns0m-file-transfer This works!!! trust me!! i have just tried it
I get Invalid **"Version: null"**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org