mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add the new media permission to typescript (#39563)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39563 In https://github.com/facebook/react-native/pull/38880 we added the new media permission "READ_MEDIA_VISUAL_USER_SELECTED", this diff added it for TS as well Reviewed By: NickGerleman, mdvacca Differential Revision: D49371798 fbshipit-source-id: ebc77872f5609b411904b04e684b804584eeaaa9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ecf1b84795
commit
630cf3b21c
+1
@@ -48,6 +48,7 @@ export type PermissionType =
|
||||
| 'android.permission.READ_MEDIA_IMAGES',
|
||||
| 'android.permission.READ_MEDIA_VIDEO',
|
||||
| 'android.permission.READ_MEDIA_AUDIO',
|
||||
| 'android.permission.READ_MEDIA_VISUAL_USER_SELECTED'
|
||||
| 'android.permission.WRITE_EXTERNAL_STORAGE'
|
||||
| 'android.permission.BLUETOOTH_CONNECT'
|
||||
| 'android.permission.BLUETOOTH_SCAN'
|
||||
|
||||
@@ -46,6 +46,7 @@ export type Permission =
|
||||
| 'android.permission.READ_MEDIA_IMAGES'
|
||||
| 'android.permission.READ_MEDIA_VIDEO'
|
||||
| 'android.permission.READ_MEDIA_AUDIO'
|
||||
| 'android.permission.READ_MEDIA_VISUAL_USER_SELECTED'
|
||||
| 'android.permission.WRITE_EXTERNAL_STORAGE'
|
||||
| 'android.permission.BLUETOOTH_CONNECT'
|
||||
| 'android.permission.BLUETOOTH_SCAN'
|
||||
|
||||
Reference in New Issue
Block a user