This plugin allows you to save an image form a URL to the iOS Photo Library, or Android Gallery from your app.
- IOS
- Android
cordova plugin add https://github.com/appue/saveimage.git
window.saveImage.fromUrl(
url,
function (res) {
console.log('success');
},
function (err) {
console.log('failure');
},
)