Open
Description
Hello,
I am unable to re write file on Android Samsung devices if the same named file was deleted from phone's file system manually.
Getting below error
{ "nativeStackAndroid": [], "userInfo": null, "message": "File '/storage/emulated/0/Download/myApp/0690Q000004lHWRQA2.jpeg' does not exist and could not be created", "code": "ENOENT" }
My Steps to reproduce
- write file using RNFetchBlob.fs.writeFile(filePath, updatedData.content, 'base64')
- Go to file destination in Android Phone
- Delete the same file
- Try to write file again
Below is my code for Writing file
RNFetchBlob.fs.writeFile(filePath, updatedData.content, 'base64') .then(this._onSuccess) .catch(err => { console.log('%c%s', 'color: red', '[ERROR] writeFile 8888', err); this._onError(err); });
I am facing this issue on Android samsung device
Samsung A14
Android OS: 14
Any Help will be appreciated
Thanks,
Rishabh
Metadata
Metadata
Assignees
Labels
No labels