diff --git a/Libraries/PermissionsAndroid/NativePermissionsAndroid.js b/Libraries/PermissionsAndroid/NativePermissionsAndroid.js index 358882c8ec4820..7c3a6c58ac7616 100644 --- a/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +++ b/Libraries/PermissionsAndroid/NativePermissionsAndroid.js @@ -44,7 +44,8 @@ export type PermissionType = | 'android.permission.WRITE_EXTERNAL_STORAGE' | 'android.permission.BLUETOOTH_CONNECT' | 'android.permission.BLUETOOTH_SCAN' - | 'android.permission.BLUETOOTH_ADVERTISE'; + | 'android.permission.BLUETOOTH_ADVERTISE' + | 'android.permission.ACCESS_MEDIA_LOCATION'; */ export interface Spec extends TurboModule { diff --git a/Libraries/PermissionsAndroid/PermissionsAndroid.js b/Libraries/PermissionsAndroid/PermissionsAndroid.js index 1006cd3192451d..0a24840c56e18d 100644 --- a/Libraries/PermissionsAndroid/PermissionsAndroid.js +++ b/Libraries/PermissionsAndroid/PermissionsAndroid.js @@ -62,6 +62,7 @@ const PERMISSIONS = Object.freeze({ BLUETOOTH_CONNECT: 'android.permission.BLUETOOTH_CONNECT', BLUETOOTH_SCAN: 'android.permission.BLUETOOTH_SCAN', BLUETOOTH_ADVERTISE: 'android.permission.BLUETOOTH_ADVERTISE', + ACCESS_MEDIA_LOCATION: 'android.permission.ACCESS_MEDIA_LOCATION', }); /** @@ -75,6 +76,7 @@ class PermissionsAndroid { ACCESS_BACKGROUND_LOCATION: string, ACCESS_COARSE_LOCATION: string, ACCESS_FINE_LOCATION: string, + ACCESS_MEDIA_LOCATION: string, ADD_VOICEMAIL: string, BLUETOOTH_ADVERTISE: string, BLUETOOTH_CONNECT: string,