diff --git a/packages/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.js b/packages/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.js index e975ba49d55ff7..12cb1b83091a07 100644 --- a/packages/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.js +++ b/packages/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.js @@ -65,6 +65,8 @@ const PERMISSIONS = Object.freeze({ READ_MEDIA_IMAGES: 'android.permission.READ_MEDIA_IMAGES', READ_MEDIA_VIDEO: 'android.permission.READ_MEDIA_VIDEO', READ_MEDIA_AUDIO: 'android.permission.READ_MEDIA_AUDIO', + READ_MEDIA_VISUAL_USER_SELECTED: + 'android.permission.READ_MEDIA_VISUAL_USER_SELECTED', WRITE_EXTERNAL_STORAGE: 'android.permission.WRITE_EXTERNAL_STORAGE', BLUETOOTH_CONNECT: 'android.permission.BLUETOOTH_CONNECT', BLUETOOTH_SCAN: 'android.permission.BLUETOOTH_SCAN', @@ -115,6 +117,7 @@ class PermissionsAndroid { READ_MEDIA_IMAGES: string, READ_MEDIA_VIDEO: string, READ_MEDIA_AUDIO: string, + READ_MEDIA_VISUAL_USER_SELECTED: string, READ_PHONE_NUMBERS: string, READ_PHONE_STATE: string, READ_SMS: string, @@ -287,7 +290,6 @@ class PermissionsAndroid { NativePermissionsAndroid, 'PermissionsAndroid is not installed correctly.', ); - return NativePermissionsAndroid.requestMultiplePermissions(permissions); } }