react-native-fs
react-native-fs copied to clipboard
Can not add files to "/storage/emulated/0" directory
Hello I have been using: "react-native": "0.65.1" "react-native-fs": "^2.18.0"
I can RNFS.mkdir to "storage/emulated/0/Download/myApp", but I can not .mkdir "storage/emulated/0/myApp"
[Error: Directory could not be created]
I have both write and read permissions, and it works perfectly in subfolders, but I want to create in in the main directory like some other apps already do on my device.
Did you find any solution??? I am also struggling with this too
No, still having the same problem. I have decided to put everything into 0/Android folder
No, still having the same problem. I have decided to put everything into 0/Android folder
That's good, but not user-friendly as other apps, also I'm thinking of moving to another library
I already tried rn-fetch-blob but the same issue occurs. So something else could be the problem.
I have the same problem. please fix this!
I have same issue.
I also have the same issue.
Same here in Android 11 even if I do give the permission to the dir using scoped-storage.
Hey guys, does anyone found any solution? Im with the same problem in some devices with Android 11
i'm having same problem for android 11+
please help us!
Im trying to move a file from the android folder to the external directory of the phone, but i get this error. HELP!
same problem here
I have the same issue.
I'm same problem too.
my expect is that download file that from url to /storage/emulated/0/Downloads
but file manager of mobile system can't scan it. I have to use Professional file manager to find the file that downloaded into path /storage/emulated/0/Downloads
.
This Q&A provides a method to solve such problems that write file to Android external storage https://stackoverflow.com/questions/63392170/write-files-to-the-android-external-storage-using-react-native-fs