Download image to local


#1

I have an image from remote site, I show it by photoBrowser, how can I download it to local drive (ios &android)

P/s: I use cordova to build app
image


#2

using filetransfer plugin from cordova,

a few months ago im developing with same condition , but videos .
unfortunately, may u cant save into camera roll iOS :slight_smile:

privacy reason maybe.


#3

Thanks your answer, but I don’t know how to add plugin for my app.

I have a project F7 + Vuejs and a project cordova, when build app for mobile, I copy www of first project to www of cordova project, anh then I build, but when download, it occur error : Uncaught ReferenceError: fileTransfer is not defined


#4

try at real device / emulator ?

gimme a pastebin


#5

hi edoofx, i tested on emulator


#6

A long time ago i was using this plugin for one of my clients apps https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

It is actually for sharing, but if pass there image, there will be an option like Save to Camera roll on share


#7

I see, but when I add to cordova project, it raise error: “Cannot read property ‘socialsharing’ of undefined”