|
@@ -4,49 +4,49 @@
|
4
|
4
|
typedef NS_ENUM(NSInteger, RNPermission) {
|
5
|
5
|
RNPermissionUnknown = 0,
|
6
|
6
|
#if __has_include("RNPermissionHandlerBluetoothPeripheral.h")
|
7
|
|
- RNPermissionBluetoothPeripheral,
|
|
7
|
+ RNPermissionBluetoothPeripheral = 1,
|
8
|
8
|
#endif
|
9
|
9
|
#if __has_include("RNPermissionHandlerCalendars.h")
|
10
|
|
- RNPermissionCalendars,
|
|
10
|
+ RNPermissionCalendars = 2,
|
11
|
11
|
#endif
|
12
|
12
|
#if __has_include("RNPermissionHandlerCamera.h")
|
13
|
|
- RNPermissionCamera,
|
|
13
|
+ RNPermissionCamera = 3,
|
14
|
14
|
#endif
|
15
|
15
|
#if __has_include("RNPermissionHandlerContacts.h")
|
16
|
|
- RNPermissionContacts,
|
|
16
|
+ RNPermissionContacts = 4,
|
17
|
17
|
#endif
|
18
|
18
|
#if __has_include("RNPermissionHandlerFaceID.h")
|
19
|
|
- RNPermissionFaceID,
|
|
19
|
+ RNPermissionFaceID = 5,
|
20
|
20
|
#endif
|
21
|
21
|
#if __has_include("RNPermissionHandlerLocationAlways.h")
|
22
|
|
- RNPermissionLocationAlways,
|
|
22
|
+ RNPermissionLocationAlways = 6,
|
23
|
23
|
#endif
|
24
|
24
|
#if __has_include("RNPermissionHandlerLocationWhenInUse.h")
|
25
|
|
- RNPermissionLocationWhenInUse,
|
|
25
|
+ RNPermissionLocationWhenInUse = 7,
|
26
|
26
|
#endif
|
27
|
27
|
#if __has_include("RNPermissionHandlerMediaLibrary.h")
|
28
|
|
- RNPermissionMediaLibrary,
|
|
28
|
+ RNPermissionMediaLibrary = 8,
|
29
|
29
|
#endif
|
30
|
30
|
#if __has_include("RNPermissionHandlerMicrophone.h")
|
31
|
|
- RNPermissionMicrophone,
|
|
31
|
+ RNPermissionMicrophone = 9,
|
32
|
32
|
#endif
|
33
|
33
|
#if __has_include("RNPermissionHandlerMotion.h")
|
34
|
|
- RNPermissionMotion,
|
|
34
|
+ RNPermissionMotion = 10,
|
35
|
35
|
#endif
|
36
|
36
|
#if __has_include("RNPermissionHandlerPhotoLibrary.h")
|
37
|
|
- RNPermissionPhotoLibrary,
|
|
37
|
+ RNPermissionPhotoLibrary = 11,
|
38
|
38
|
#endif
|
39
|
39
|
#if __has_include("RNPermissionHandlerReminders.h")
|
40
|
|
- RNPermissionReminders,
|
|
40
|
+ RNPermissionReminders = 12,
|
41
|
41
|
#endif
|
42
|
42
|
#if __has_include("RNPermissionHandlerSiri.h")
|
43
|
|
- RNPermissionSiri,
|
|
43
|
+ RNPermissionSiri = 13,
|
44
|
44
|
#endif
|
45
|
45
|
#if __has_include("RNPermissionHandlerSpeechRecognition.h")
|
46
|
|
- RNPermissionSpeechRecognition,
|
|
46
|
+ RNPermissionSpeechRecognition = 14,
|
47
|
47
|
#endif
|
48
|
48
|
#if __has_include("RNPermissionHandlerStoreKit.h")
|
49
|
|
- RNPermissionStoreKit,
|
|
49
|
+ RNPermissionStoreKit = 15,
|
50
|
50
|
#endif
|
51
|
51
|
};
|
52
|
52
|
|