Comments (14)
Hi, I have also encountered that after installing this plugin the build fails. It is showing incompatibility issues
from cordova-plugin-file-transfer.
me too
from cordova-plugin-file-transfer.
@phusting I have found the solution
from cordova-plugin-file-transfer.
@pixellet14 , AND?! :o) I'm using iOS and Android and I would love to continue to use file-transfer plugin if possible
from cordova-plugin-file-transfer.
@phusting try this plugin https://www.npmjs.com/package/cordova-plugin-file-transfer-latest
from cordova-plugin-file-transfer.
@pixellet14 I will give it a try tomorrow. Thanks
from cordova-plugin-file-transfer.
@phusting https://www.npmjs.com/package/cordova-plugin-ns0m-file-transfer
This works!!! trust me!! i have just tried it
from cordova-plugin-file-transfer.
@pixellet14 you tested with plugin-file v7?
from cordova-plugin-file-transfer.
@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
from cordova-plugin-file-transfer.
@phusting what's your cordova version? I am using 11
from cordova-plugin-file-transfer.
@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
from cordova-plugin-file-transfer.
@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.
from cordova-plugin-file-transfer.
I start wondering if this plugin is still being maintained.
from cordova-plugin-file-transfer.
@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 on both Cordova 11 for both Android@11 and [email protected] (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);
}
from cordova-plugin-file-transfer.
Related Issues (20)
- Server issue: Cordova flie-transfer-plugin working on UAT server but not on Production server
- cordova-plugin-file-transfer is not working with cordova 11 HOT 2
- cordova plugin add cordova-plugin-file-transfer Not working HOT 2
- This plugin seems to be no longer supported HOT 1
- Cordova 11 > Android incompatible HOT 15
- With iOS, I think -file-transfer needs to be updated to work with -plugin-file v7 HOT 3
- how do i install 2.0.0-dev? HOT 1
- EPERM (Operation not permitted) HOT 1
- cordova-plugin-file-transfer is not working with ios HOT 2
- Longer downloads fail silently when app is backgrounded on iOS HOT 1
- Kindly advise if there is an alternative to FileTransfer / FileUpload for use with Capacitor 4. Thanks HOT 3
- Upload was not working in API level 32 in Android HOT 2
- Can't resolve 'cordova-plugin-file-transfer' HOT 1
- Undeprecate this plugin HOT 4
- The plugin 2.0.0-dev will not load on Android 6.0 and below. HOT 2
- Getting code 1 file exists on file download HOT 8
- `download` method failing on cordova / android platform with `java.lang.NullPointerException` exception HOT 6
- open failed: ENOENT (No such file or directory) HOT 2
- There is any way to download image from POST API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-file-transfer.