PermissionsAndroid.PERMISSIONS.ACCESS_MEDIA_LOCATION isn't implemented yet? #31953
Labels
API: PermissionsAndroid
Platform: Android
Android applications.
Resolution: Locked
This issue was locked by the bot.
I need to access the location info of user's videos and images.
Since Android 10 (API level 29) it is necessary to request
ACCESS_MEDIA_LOCATION
permission to access media location tags: https://developer.android.com/training/data-storage/shared/media#media-location-permissionBut when I request the permission, I get an error:
Basically the same error as when requesting any non-existing permission string.
The permission is also missing from this list, even though it is rated as 'dangerous':
https://reactnative.dev/docs/permissionsandroid#permissions-that-require-prompting-the-user
So I'm guessing this permission isn't implemented in PermissionsAndroid yet? Is there any way to get this to work / work around this?
React Native version:
0.64.1
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
Expected Results
Show prompt to grant permission.
The text was updated successfully, but these errors were encountered: