shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Delete single file #76

Open rohit75 opened 4 years ago

rohit75 commented 4 years ago

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?

liukefu2050 commented 4 years ago

https://github.com/itinance/react-native-fs