itinance / itinance/react-native-fs
Addressing Android SDK 29 Deprecations
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Android SDK 29 deprecated a series of filesystem access methods that leads to access permission errors even when a user grants permission to access system Storage.
Two of these are used by this library
https://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()
and
https://developer.android.com/reference/android/os/Environment.html#getExternalStoragePublicDirectory(java.lang.String)
They recommend using the following as an alternative
https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String)
I wanted to reach out to get guidance on if and how I could go about upgrading the library to be compliant as I'm more experienced as a React developer with somewhat minimal Android development experience
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.