itinance / itinance/react-native-fs
ENOENT: open failed: EACCES (Permission denied)
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting this error whilst trying to open files in the directory `ExternalDirectoryPath`.
I have seen that others have fixed it by targeting a lower SDK version (29 max) so that they can opt out of scoped storage.
This isn't working for me consistently and after reading the [android docs](https://developer.android.com/training/data-storage/app-specific#external) it seems this shouldn't be causing any issue, we shouldn't even need to request permissions.
For reference `ExternalDirectoryPath` in RNFS returns the same as androids `getExternalFilesDir() ` method which is meant to not require permissions in most cases.
Anyone experienced this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.