6 Replies Latest reply on Oct 20, 2016 12:45 AM by idgiv

    download file using filetransfer

    idgiv

      Hi,

       

      We're trying to download an image file with fileTransfer plugin (build takes latest version from npm)

      and when running the debug version app on ios (created with phonegap on build.phonegap.com)

      the app seemed to have successfully downloaded the file - but we can't see the file in the gallery,

      meaning it was not created.

       

      When debugging and checking to where the file was saved we see that it the code decided to save it to the app's folder under "Library" and not to the phone's "Library", but still we should've seen it in the gallery.

       

      Our code follows a few examples from stackoverflow...

       

      Here it is on jsfiddle: Edit fiddle - JSFiddle

       

      What can we be doing wrong?

       

       

      Thank you all in advance for helping!

      Idan