@markedjani wrote:
Using Ionic 3 File pkugin for removing images from device,
deleteFromDevice(data){ for(let i=0; i<data.rows.length; i++){ this.file.removeFile(data(i).location, data(i).picture).then(_ => console.log('deleted')).catch(err => console.log('cannot delete')); } }, (error) => { console.log("Greška: " + JSON.stringify(error.err)); }); }
Above function deletes images content but file remains on device with exclamation mark. Anyone familiar with this?
Posts: 1
Participants: 1