Download image to local

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

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.

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

try at real device / emulator ?

gimme a pastebin

hi edoofx, i tested on emulator

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

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

1 Like

@phatnguyen81 Did you mange to sort this out.

I use this plugin to save image.