-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addressing Android SDK 29 Deprecations #767
Comments
Add the following line inside the tag of your manifest file. For reference, follow this link. |
Sweet, thanks for the heads up |
Does anyone have any updates on this issue? I've tried adding the line to Manifest file but it still doesn't work. The referenced link above says the policy may not be respected due to policy or backwards compatibility reasons. So at least on my Redmi phone running Android 10, it is still not working. |
Any alternative solution for |
Referencing all related issues to #998 |
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
The text was updated successfully, but these errors were encountered: