You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have all permission. But still shows error.
Possible Unhandled Promise Rejection (id: 2):
Error: ENOENT: /storage/emulated/0/Download/DataBackup/prf.db: open failed: EACCES (Permission denied), open '/storage/emulated/0/Download/DataBackup/prf.db'
N.B: when I run the create folder function, the is created successfully in Downlaod folder.
RNFS.exists(RNFS.DownloadDirectoryPath + "/DataBackup")
.then(exists => {
if (!exists) {
RNFS.mkdir(RNFS.DownloadDirectoryPath + "/DataBackup")
}}).catch(error => {
console.error("Error checking MEMBER directory existence:", error);
});
The text was updated successfully, but these errors were encountered:
I have all permission. But still shows error.
Possible Unhandled Promise Rejection (id: 2):
Error: ENOENT: /storage/emulated/0/Download/DataBackup/prf.db: open failed: EACCES (Permission denied), open '/storage/emulated/0/Download/DataBackup/prf.db'
THIS IS MY CODE.
const onShare=()=>{
}
N.B: when I run the create folder function, the is created successfully in Downlaod folder.
RNFS.exists(RNFS.DownloadDirectoryPath + "/DataBackup")
.then(exists => {
if (!exists) {
RNFS.mkdir(RNFS.DownloadDirectoryPath + "/DataBackup")
}}).catch(error => {
console.error("Error checking MEMBER directory existence:", error);
});
The text was updated successfully, but these errors were encountered: