I want to delete a single file after capturing an image from camera, can you please add some method to delete a single file.
I tried with:
RNFetchBlob.fs.unlink(uri)
.then(() => {
console.log('file deleted');
})
.catch((err) => {
console.log('delete error', err);
});
I get 'file deleted' but it does not delete the file.
Any other solution?
I want to delete a single file after capturing an image from camera, can you please add some method to delete a single file. I tried with: RNFetchBlob.fs.unlink(uri) .then(() => { console.log('file deleted'); }) .catch((err) => { console.log('delete error', err); }); I get 'file deleted' but it does not delete the file. Any other solution?