Code Monkey home page Code Monkey logo

Comments (14)

pixellet14 avatar pixellet14 commented on June 16, 2024

Hi, I have also encountered that after installing this plugin the build fails. It is showing incompatibility issues

from cordova-plugin-file-transfer.

phusting avatar phusting commented on June 16, 2024

me too

from cordova-plugin-file-transfer.

pixellet14 avatar pixellet14 commented on June 16, 2024

@phusting I have found the solution

from cordova-plugin-file-transfer.

phusting avatar phusting commented on June 16, 2024

@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.

pixellet14 avatar pixellet14 commented on June 16, 2024

@phusting try this plugin https://www.npmjs.com/package/cordova-plugin-file-transfer-latest

from cordova-plugin-file-transfer.

phusting avatar phusting commented on June 16, 2024

@pixellet14 I will give it a try tomorrow. Thanks

from cordova-plugin-file-transfer.

pixellet14 avatar pixellet14 commented on June 16, 2024

@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.

phusting avatar phusting commented on June 16, 2024

@pixellet14 you tested with plugin-file v7?

from cordova-plugin-file-transfer.

phusting avatar phusting commented on June 16, 2024

@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.

pixellet14 avatar pixellet14 commented on June 16, 2024

@phusting what's your cordova version? I am using 11

from cordova-plugin-file-transfer.

pixellet14 avatar pixellet14 commented on June 16, 2024

@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.

michaelpeterlee avatar michaelpeterlee commented on June 16, 2024

@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.

terryjiang2020 avatar terryjiang2020 commented on June 16, 2024

I start wondering if this plugin is still being maintained.

from cordova-plugin-file-transfer.

rolinger avatar rolinger commented on June 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.