Pārlūkot izejas kodu

Split constants and types from main file

Mathieu Acthernoene 5 gadus atpakaļ
vecāks
revīzija
067ef5d4c4

+ 185
- 185
example/ios/Podfile.lock Parādīt failu

@@ -1,14 +1,14 @@
1 1
 PODS:
2 2
   - boost-for-react-native (1.63.0)
3 3
   - DoubleConversion (1.1.6)
4
-  - FBLazyVector (0.61.1)
5
-  - FBReactNativeSpec (0.61.1):
4
+  - FBLazyVector (0.61.2)
5
+  - FBReactNativeSpec (0.61.2):
6 6
     - Folly (= 2018.10.22.00)
7
-    - RCTRequired (= 0.61.1)
8
-    - RCTTypeSafety (= 0.61.1)
9
-    - React-Core (= 0.61.1)
10
-    - React-jsi (= 0.61.1)
11
-    - ReactCommon/turbomodule/core (= 0.61.1)
7
+    - RCTRequired (= 0.61.2)
8
+    - RCTTypeSafety (= 0.61.2)
9
+    - React-Core (= 0.61.2)
10
+    - React-jsi (= 0.61.2)
11
+    - ReactCommon/turbomodule/core (= 0.61.2)
12 12
   - Folly (2018.10.22.00):
13 13
     - boost-for-react-native
14 14
     - DoubleConversion
@@ -19,235 +19,235 @@ PODS:
19 19
     - DoubleConversion
20 20
     - glog
21 21
   - glog (0.3.5)
22
-  - Permission-BluetoothPeripheral (2.0.0):
22
+  - Permission-BluetoothPeripheral (2.0.1):
23 23
     - RNPermissions
24
-  - Permission-Calendars (2.0.0):
24
+  - Permission-Calendars (2.0.1):
25 25
     - RNPermissions
26
-  - Permission-Camera (2.0.0):
26
+  - Permission-Camera (2.0.1):
27 27
     - RNPermissions
28
-  - Permission-Contacts (2.0.0):
28
+  - Permission-Contacts (2.0.1):
29 29
     - RNPermissions
30
-  - Permission-FaceID (2.0.0):
30
+  - Permission-FaceID (2.0.1):
31 31
     - RNPermissions
32
-  - Permission-LocationAlways (2.0.0):
32
+  - Permission-LocationAlways (2.0.1):
33 33
     - RNPermissions
34
-  - Permission-LocationWhenInUse (2.0.0):
34
+  - Permission-LocationWhenInUse (2.0.1):
35 35
     - RNPermissions
36
-  - Permission-MediaLibrary (2.0.0):
36
+  - Permission-MediaLibrary (2.0.1):
37 37
     - RNPermissions
38
-  - Permission-Microphone (2.0.0):
38
+  - Permission-Microphone (2.0.1):
39 39
     - RNPermissions
40
-  - Permission-Motion (2.0.0):
40
+  - Permission-Motion (2.0.1):
41 41
     - RNPermissions
42
-  - Permission-Notifications (2.0.0):
42
+  - Permission-Notifications (2.0.1):
43 43
     - RNPermissions
44
-  - Permission-PhotoLibrary (2.0.0):
44
+  - Permission-PhotoLibrary (2.0.1):
45 45
     - RNPermissions
46
-  - Permission-Reminders (2.0.0):
46
+  - Permission-Reminders (2.0.1):
47 47
     - RNPermissions
48
-  - Permission-SpeechRecognition (2.0.0):
48
+  - Permission-SpeechRecognition (2.0.1):
49 49
     - RNPermissions
50
-  - Permission-StoreKit (2.0.0):
50
+  - Permission-StoreKit (2.0.1):
51 51
     - RNPermissions
52
-  - RCTRequired (0.61.1)
53
-  - RCTTypeSafety (0.61.1):
54
-    - FBLazyVector (= 0.61.1)
52
+  - RCTRequired (0.61.2)
53
+  - RCTTypeSafety (0.61.2):
54
+    - FBLazyVector (= 0.61.2)
55 55
     - Folly (= 2018.10.22.00)
56
-    - RCTRequired (= 0.61.1)
57
-    - React-Core (= 0.61.1)
58
-  - React (0.61.1):
59
-    - React-Core (= 0.61.1)
60
-    - React-Core/DevSupport (= 0.61.1)
61
-    - React-Core/RCTWebSocket (= 0.61.1)
62
-    - React-RCTActionSheet (= 0.61.1)
63
-    - React-RCTAnimation (= 0.61.1)
64
-    - React-RCTBlob (= 0.61.1)
65
-    - React-RCTImage (= 0.61.1)
66
-    - React-RCTLinking (= 0.61.1)
67
-    - React-RCTNetwork (= 0.61.1)
68
-    - React-RCTSettings (= 0.61.1)
69
-    - React-RCTText (= 0.61.1)
70
-    - React-RCTVibration (= 0.61.1)
71
-  - React-Core (0.61.1):
56
+    - RCTRequired (= 0.61.2)
57
+    - React-Core (= 0.61.2)
58
+  - React (0.61.2):
59
+    - React-Core (= 0.61.2)
60
+    - React-Core/DevSupport (= 0.61.2)
61
+    - React-Core/RCTWebSocket (= 0.61.2)
62
+    - React-RCTActionSheet (= 0.61.2)
63
+    - React-RCTAnimation (= 0.61.2)
64
+    - React-RCTBlob (= 0.61.2)
65
+    - React-RCTImage (= 0.61.2)
66
+    - React-RCTLinking (= 0.61.2)
67
+    - React-RCTNetwork (= 0.61.2)
68
+    - React-RCTSettings (= 0.61.2)
69
+    - React-RCTText (= 0.61.2)
70
+    - React-RCTVibration (= 0.61.2)
71
+  - React-Core (0.61.2):
72 72
     - Folly (= 2018.10.22.00)
73 73
     - glog
74
-    - React-Core/Default (= 0.61.1)
75
-    - React-cxxreact (= 0.61.1)
76
-    - React-jsi (= 0.61.1)
77
-    - React-jsiexecutor (= 0.61.1)
74
+    - React-Core/Default (= 0.61.2)
75
+    - React-cxxreact (= 0.61.2)
76
+    - React-jsi (= 0.61.2)
77
+    - React-jsiexecutor (= 0.61.2)
78 78
     - Yoga
79
-  - React-Core/CoreModulesHeaders (0.61.1):
79
+  - React-Core/CoreModulesHeaders (0.61.2):
80 80
     - Folly (= 2018.10.22.00)
81 81
     - glog
82 82
     - React-Core/Default
83
-    - React-cxxreact (= 0.61.1)
84
-    - React-jsi (= 0.61.1)
85
-    - React-jsiexecutor (= 0.61.1)
83
+    - React-cxxreact (= 0.61.2)
84
+    - React-jsi (= 0.61.2)
85
+    - React-jsiexecutor (= 0.61.2)
86 86
     - Yoga
87
-  - React-Core/Default (0.61.1):
87
+  - React-Core/Default (0.61.2):
88 88
     - Folly (= 2018.10.22.00)
89 89
     - glog
90
-    - React-cxxreact (= 0.61.1)
91
-    - React-jsi (= 0.61.1)
92
-    - React-jsiexecutor (= 0.61.1)
90
+    - React-cxxreact (= 0.61.2)
91
+    - React-jsi (= 0.61.2)
92
+    - React-jsiexecutor (= 0.61.2)
93 93
     - Yoga
94
-  - React-Core/DevSupport (0.61.1):
94
+  - React-Core/DevSupport (0.61.2):
95 95
     - Folly (= 2018.10.22.00)
96 96
     - glog
97
-    - React-Core/Default (= 0.61.1)
98
-    - React-Core/RCTWebSocket (= 0.61.1)
99
-    - React-cxxreact (= 0.61.1)
100
-    - React-jsi (= 0.61.1)
101
-    - React-jsiexecutor (= 0.61.1)
102
-    - React-jsinspector (= 0.61.1)
97
+    - React-Core/Default (= 0.61.2)
98
+    - React-Core/RCTWebSocket (= 0.61.2)
99
+    - React-cxxreact (= 0.61.2)
100
+    - React-jsi (= 0.61.2)
101
+    - React-jsiexecutor (= 0.61.2)
102
+    - React-jsinspector (= 0.61.2)
103 103
     - Yoga
104
-  - React-Core/RCTActionSheetHeaders (0.61.1):
104
+  - React-Core/RCTActionSheetHeaders (0.61.2):
105 105
     - Folly (= 2018.10.22.00)
106 106
     - glog
107 107
     - React-Core/Default
108
-    - React-cxxreact (= 0.61.1)
109
-    - React-jsi (= 0.61.1)
110
-    - React-jsiexecutor (= 0.61.1)
108
+    - React-cxxreact (= 0.61.2)
109
+    - React-jsi (= 0.61.2)
110
+    - React-jsiexecutor (= 0.61.2)
111 111
     - Yoga
112
-  - React-Core/RCTAnimationHeaders (0.61.1):
112
+  - React-Core/RCTAnimationHeaders (0.61.2):
113 113
     - Folly (= 2018.10.22.00)
114 114
     - glog
115 115
     - React-Core/Default
116
-    - React-cxxreact (= 0.61.1)
117
-    - React-jsi (= 0.61.1)
118
-    - React-jsiexecutor (= 0.61.1)
116
+    - React-cxxreact (= 0.61.2)
117
+    - React-jsi (= 0.61.2)
118
+    - React-jsiexecutor (= 0.61.2)
119 119
     - Yoga
120
-  - React-Core/RCTBlobHeaders (0.61.1):
120
+  - React-Core/RCTBlobHeaders (0.61.2):
121 121
     - Folly (= 2018.10.22.00)
122 122
     - glog
123 123
     - React-Core/Default
124
-    - React-cxxreact (= 0.61.1)
125
-    - React-jsi (= 0.61.1)
126
-    - React-jsiexecutor (= 0.61.1)
124
+    - React-cxxreact (= 0.61.2)
125
+    - React-jsi (= 0.61.2)
126
+    - React-jsiexecutor (= 0.61.2)
127 127
     - Yoga
128
-  - React-Core/RCTImageHeaders (0.61.1):
128
+  - React-Core/RCTImageHeaders (0.61.2):
129 129
     - Folly (= 2018.10.22.00)
130 130
     - glog
131 131
     - React-Core/Default
132
-    - React-cxxreact (= 0.61.1)
133
-    - React-jsi (= 0.61.1)
134
-    - React-jsiexecutor (= 0.61.1)
132
+    - React-cxxreact (= 0.61.2)
133
+    - React-jsi (= 0.61.2)
134
+    - React-jsiexecutor (= 0.61.2)
135 135
     - Yoga
136
-  - React-Core/RCTLinkingHeaders (0.61.1):
136
+  - React-Core/RCTLinkingHeaders (0.61.2):
137 137
     - Folly (= 2018.10.22.00)
138 138
     - glog
139 139
     - React-Core/Default
140
-    - React-cxxreact (= 0.61.1)
141
-    - React-jsi (= 0.61.1)
142
-    - React-jsiexecutor (= 0.61.1)
140
+    - React-cxxreact (= 0.61.2)
141
+    - React-jsi (= 0.61.2)
142
+    - React-jsiexecutor (= 0.61.2)
143 143
     - Yoga
144
-  - React-Core/RCTNetworkHeaders (0.61.1):
144
+  - React-Core/RCTNetworkHeaders (0.61.2):
145 145
     - Folly (= 2018.10.22.00)
146 146
     - glog
147 147
     - React-Core/Default
148
-    - React-cxxreact (= 0.61.1)
149
-    - React-jsi (= 0.61.1)
150
-    - React-jsiexecutor (= 0.61.1)
148
+    - React-cxxreact (= 0.61.2)
149
+    - React-jsi (= 0.61.2)
150
+    - React-jsiexecutor (= 0.61.2)
151 151
     - Yoga
152
-  - React-Core/RCTSettingsHeaders (0.61.1):
152
+  - React-Core/RCTSettingsHeaders (0.61.2):
153 153
     - Folly (= 2018.10.22.00)
154 154
     - glog
155 155
     - React-Core/Default
156
-    - React-cxxreact (= 0.61.1)
157
-    - React-jsi (= 0.61.1)
158
-    - React-jsiexecutor (= 0.61.1)
156
+    - React-cxxreact (= 0.61.2)
157
+    - React-jsi (= 0.61.2)
158
+    - React-jsiexecutor (= 0.61.2)
159 159
     - Yoga
160
-  - React-Core/RCTTextHeaders (0.61.1):
160
+  - React-Core/RCTTextHeaders (0.61.2):
161 161
     - Folly (= 2018.10.22.00)
162 162
     - glog
163 163
     - React-Core/Default
164
-    - React-cxxreact (= 0.61.1)
165
-    - React-jsi (= 0.61.1)
166
-    - React-jsiexecutor (= 0.61.1)
164
+    - React-cxxreact (= 0.61.2)
165
+    - React-jsi (= 0.61.2)
166
+    - React-jsiexecutor (= 0.61.2)
167 167
     - Yoga
168
-  - React-Core/RCTVibrationHeaders (0.61.1):
168
+  - React-Core/RCTVibrationHeaders (0.61.2):
169 169
     - Folly (= 2018.10.22.00)
170 170
     - glog
171 171
     - React-Core/Default
172
-    - React-cxxreact (= 0.61.1)
173
-    - React-jsi (= 0.61.1)
174
-    - React-jsiexecutor (= 0.61.1)
172
+    - React-cxxreact (= 0.61.2)
173
+    - React-jsi (= 0.61.2)
174
+    - React-jsiexecutor (= 0.61.2)
175 175
     - Yoga
176
-  - React-Core/RCTWebSocket (0.61.1):
176
+  - React-Core/RCTWebSocket (0.61.2):
177 177
     - Folly (= 2018.10.22.00)
178 178
     - glog
179
-    - React-Core/Default (= 0.61.1)
180
-    - React-cxxreact (= 0.61.1)
181
-    - React-jsi (= 0.61.1)
182
-    - React-jsiexecutor (= 0.61.1)
179
+    - React-Core/Default (= 0.61.2)
180
+    - React-cxxreact (= 0.61.2)
181
+    - React-jsi (= 0.61.2)
182
+    - React-jsiexecutor (= 0.61.2)
183 183
     - Yoga
184
-  - React-CoreModules (0.61.1):
185
-    - FBReactNativeSpec (= 0.61.1)
184
+  - React-CoreModules (0.61.2):
185
+    - FBReactNativeSpec (= 0.61.2)
186 186
     - Folly (= 2018.10.22.00)
187
-    - RCTTypeSafety (= 0.61.1)
188
-    - React-Core/CoreModulesHeaders (= 0.61.1)
189
-    - React-RCTImage (= 0.61.1)
190
-    - ReactCommon/turbomodule/core (= 0.61.1)
191
-  - React-cxxreact (0.61.1):
187
+    - RCTTypeSafety (= 0.61.2)
188
+    - React-Core/CoreModulesHeaders (= 0.61.2)
189
+    - React-RCTImage (= 0.61.2)
190
+    - ReactCommon/turbomodule/core (= 0.61.2)
191
+  - React-cxxreact (0.61.2):
192 192
     - boost-for-react-native (= 1.63.0)
193 193
     - DoubleConversion
194 194
     - Folly (= 2018.10.22.00)
195 195
     - glog
196
-    - React-jsinspector (= 0.61.1)
197
-  - React-jsi (0.61.1):
196
+    - React-jsinspector (= 0.61.2)
197
+  - React-jsi (0.61.2):
198 198
     - boost-for-react-native (= 1.63.0)
199 199
     - DoubleConversion
200 200
     - Folly (= 2018.10.22.00)
201 201
     - glog
202
-    - React-jsi/Default (= 0.61.1)
203
-  - React-jsi/Default (0.61.1):
202
+    - React-jsi/Default (= 0.61.2)
203
+  - React-jsi/Default (0.61.2):
204 204
     - boost-for-react-native (= 1.63.0)
205 205
     - DoubleConversion
206 206
     - Folly (= 2018.10.22.00)
207 207
     - glog
208
-  - React-jsiexecutor (0.61.1):
208
+  - React-jsiexecutor (0.61.2):
209 209
     - DoubleConversion
210 210
     - Folly (= 2018.10.22.00)
211 211
     - glog
212
-    - React-cxxreact (= 0.61.1)
213
-    - React-jsi (= 0.61.1)
214
-  - React-jsinspector (0.61.1)
215
-  - React-RCTActionSheet (0.61.1):
216
-    - React-Core/RCTActionSheetHeaders (= 0.61.1)
217
-  - React-RCTAnimation (0.61.1):
218
-    - React-Core/RCTAnimationHeaders (= 0.61.1)
219
-  - React-RCTBlob (0.61.1):
220
-    - React-Core/RCTBlobHeaders (= 0.61.1)
221
-    - React-Core/RCTWebSocket (= 0.61.1)
222
-    - React-jsi (= 0.61.1)
223
-    - React-RCTNetwork (= 0.61.1)
224
-  - React-RCTImage (0.61.1):
225
-    - React-Core/RCTImageHeaders (= 0.61.1)
226
-    - React-RCTNetwork (= 0.61.1)
227
-  - React-RCTLinking (0.61.1):
228
-    - React-Core/RCTLinkingHeaders (= 0.61.1)
229
-  - React-RCTNetwork (0.61.1):
230
-    - React-Core/RCTNetworkHeaders (= 0.61.1)
231
-  - React-RCTSettings (0.61.1):
232
-    - React-Core/RCTSettingsHeaders (= 0.61.1)
233
-  - React-RCTText (0.61.1):
234
-    - React-Core/RCTTextHeaders (= 0.61.1)
235
-  - React-RCTVibration (0.61.1):
236
-    - React-Core/RCTVibrationHeaders (= 0.61.1)
237
-  - ReactCommon/jscallinvoker (0.61.1):
212
+    - React-cxxreact (= 0.61.2)
213
+    - React-jsi (= 0.61.2)
214
+  - React-jsinspector (0.61.2)
215
+  - React-RCTActionSheet (0.61.2):
216
+    - React-Core/RCTActionSheetHeaders (= 0.61.2)
217
+  - React-RCTAnimation (0.61.2):
218
+    - React-Core/RCTAnimationHeaders (= 0.61.2)
219
+  - React-RCTBlob (0.61.2):
220
+    - React-Core/RCTBlobHeaders (= 0.61.2)
221
+    - React-Core/RCTWebSocket (= 0.61.2)
222
+    - React-jsi (= 0.61.2)
223
+    - React-RCTNetwork (= 0.61.2)
224
+  - React-RCTImage (0.61.2):
225
+    - React-Core/RCTImageHeaders (= 0.61.2)
226
+    - React-RCTNetwork (= 0.61.2)
227
+  - React-RCTLinking (0.61.2):
228
+    - React-Core/RCTLinkingHeaders (= 0.61.2)
229
+  - React-RCTNetwork (0.61.2):
230
+    - React-Core/RCTNetworkHeaders (= 0.61.2)
231
+  - React-RCTSettings (0.61.2):
232
+    - React-Core/RCTSettingsHeaders (= 0.61.2)
233
+  - React-RCTText (0.61.2):
234
+    - React-Core/RCTTextHeaders (= 0.61.2)
235
+  - React-RCTVibration (0.61.2):
236
+    - React-Core/RCTVibrationHeaders (= 0.61.2)
237
+  - ReactCommon/jscallinvoker (0.61.2):
238 238
     - DoubleConversion
239 239
     - Folly (= 2018.10.22.00)
240 240
     - glog
241
-    - React-cxxreact (= 0.61.1)
242
-  - ReactCommon/turbomodule/core (0.61.1):
241
+    - React-cxxreact (= 0.61.2)
242
+  - ReactCommon/turbomodule/core (0.61.2):
243 243
     - DoubleConversion
244 244
     - Folly (= 2018.10.22.00)
245 245
     - glog
246
-    - React-Core (= 0.61.1)
247
-    - React-cxxreact (= 0.61.1)
248
-    - React-jsi (= 0.61.1)
249
-    - ReactCommon/jscallinvoker (= 0.61.1)
250
-  - RNPermissions (2.0.0):
246
+    - React-Core (= 0.61.2)
247
+    - React-cxxreact (= 0.61.2)
248
+    - React-jsi (= 0.61.2)
249
+    - ReactCommon/jscallinvoker (= 0.61.2)
250
+  - RNPermissions (2.0.1):
251 251
     - React
252 252
   - RNVectorIcons (6.6.0):
253 253
     - React
@@ -393,48 +393,48 @@ EXTERNAL SOURCES:
393 393
 SPEC CHECKSUMS:
394 394
   boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
395 395
   DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
396
-  FBLazyVector: 0846affdb2924b01093eb696766ecb0104e409e0
397
-  FBReactNativeSpec: c4cf958af1b97799b524f63a26a1c509c0295b04
396
+  FBLazyVector: 68b6a76960fbd8ecd9fb7ce0aadd3329c3340a99
397
+  FBReactNativeSpec: 5a764c60abdc3336a213e5310c40b74741f32839
398 398
   Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
399 399
   glog: 1f3da668190260b06b429bb211bfbee5cd790c28
400
-  Permission-BluetoothPeripheral: 8f3fa6e7deded6491e5c3fc9e70a71b90f64ee0e
401
-  Permission-Calendars: 6a229a222f94cb01c623dbffd84cf8afdbd1ee22
402
-  Permission-Camera: 64a104eaed6f6adf9a929d9def421be39232ff66
403
-  Permission-Contacts: f8f4d1d9c6104b8f19ec6a4a14298c21fe7d622e
404
-  Permission-FaceID: eda537e02235f76b40aa58a3b720eefbac062da6
405
-  Permission-LocationAlways: 8e6574d808576e9fa9452c16e9b91783afc24e5d
406
-  Permission-LocationWhenInUse: 5d41a3f6dab5528d000932db5fbb5a1e14fdf92c
407
-  Permission-MediaLibrary: 5953dfe31afc75b8055375f9471e5ef66fb3c038
408
-  Permission-Microphone: 7c97fb87dfb7f97281d73cf9866a6351e20c8d77
409
-  Permission-Motion: dc85e0694ded53573a5bc8875dd091bf6f828a3e
410
-  Permission-Notifications: e0144f6b4849c1426a8852e6d8fe172c4a400b27
411
-  Permission-PhotoLibrary: 294c04e1a14eac26fe042517d6752fef9781356c
412
-  Permission-Reminders: 96a5f973a765a056172d91ebd8326c93b506b008
413
-  Permission-SpeechRecognition: a6b4817397f640b7b9ca73f45dfc99373eb7ccc6
414
-  Permission-StoreKit: a5d806677c97615edea4beb8f4220d65515e3e48
415
-  RCTRequired: 53825815218847d3e9c7b6d92ad2d197a926d51e
416
-  RCTTypeSafety: d886540c518e53064dfa081bf7693fd650699b92
417
-  React: 5dea58967c421bd1fdf6b94c18b9ed0f5134683c
418
-  React-Core: b381e65aa0da9b94b9dcdc4a99298075b1c3876c
419
-  React-CoreModules: 4ed224e29848ba76d26aacb8e3fe85712d3c4fe1
420
-  React-cxxreact: 52c98f5c1fb4e4d9f4b588742718350a55f4f088
421
-  React-jsi: 61ff417c95e6c3af50fb96399037e80752fb5ce7
422
-  React-jsiexecutor: ee45274419eb95614bbbadb98e20684c5f29996e
423
-  React-jsinspector: 574d597112f9ea3d1b717f6fb62aef764c70dd6f
424
-  React-RCTActionSheet: af4d951113b1e068bb30611f91b984a7a73597ff
425
-  React-RCTAnimation: 4f518d70bb6890b7c3d9d732f84786d6693ca297
426
-  React-RCTBlob: 072a4888c08de0eef6d04eaa727d25e577e6ff26
427
-  React-RCTImage: 78c5cdf1b2de6cd3cd650dd741868fad19a35528
428
-  React-RCTLinking: 486ed1c9a659c7f9fea213868f8930b9a0a79f07
429
-  React-RCTNetwork: e79599f3160b459da03447e32b8bcca1a0f0f797
430
-  React-RCTSettings: 48b7c5a64ffe0c54c39d59eb7d9036e72305f95a
431
-  React-RCTText: 81b62b4e7f11531a5154e4daa5617670d5a2d5de
432
-  React-RCTVibration: 8be61459e3749d1fb02cf414edd05b3007622882
433
-  ReactCommon: 4fba5be89efdf0b5720e0adb3d8d7edf6e532db0
434
-  RNPermissions: 4efe449170bcddfa308b5cb8743b7db26d62d701
400
+  Permission-BluetoothPeripheral: c51e050bc6c04c3a073bc1f4fc9a0c7ff70724dd
401
+  Permission-Calendars: f2ba6d17a3f66b2086d06de9d9bae1fecd15a094
402
+  Permission-Camera: 58bd09e7c82029b467cc981b42777ba27608b927
403
+  Permission-Contacts: 4f77b736e8c7f00105e2a4f5301caa90c48b6e66
404
+  Permission-FaceID: 767c3ef65983235065aedc6a7e048531fd8ab0f6
405
+  Permission-LocationAlways: 719b9ff5385cf7f8661697b683504574ecebfc37
406
+  Permission-LocationWhenInUse: bf8382d8a535e7dc68c223e1cae34d354bac6263
407
+  Permission-MediaLibrary: dc4d430db5044d76d9078ab8526249715ab26a35
408
+  Permission-Microphone: 164a5367e602fb8e282247d96230fcec46d10d3f
409
+  Permission-Motion: 240d392de4d33a04b0c4049a9d0355b786e79120
410
+  Permission-Notifications: 4749374f22c802adcf72b5a7c84ade6968e7315f
411
+  Permission-PhotoLibrary: c7b56d8021e1b3f964cf79de63b2204dd597b8c4
412
+  Permission-Reminders: f8028bfa1cc8818201a43988454bf175aa376c6b
413
+  Permission-SpeechRecognition: e8db1fb2bf7c2fd5bed855f2b92ee7d7020af541
414
+  Permission-StoreKit: 12751ee0971dde3c364ed567c37365e7405da506
415
+  RCTRequired: c639d59ed389cfb1f1203f65c2ea946d8ec586e2
416
+  RCTTypeSafety: dc23fb655d6c77667c78e327bf661bc11e3b8aec
417
+  React: 7e586e5d7bec12b91c1a096826b0fc9ab1da7865
418
+  React-Core: 8ddb9770b4a30a6ab4a754e6ed5ec76454e3d699
419
+  React-CoreModules: b3d9eece8ad7df36c917a41f05c1168c52fe0b34
420
+  React-cxxreact: 1f972757c0bd08d962ef78068e06613c27489a3f
421
+  React-jsi: 32285a21b1b24c36060493ed3057a34677d58d09
422
+  React-jsiexecutor: 8909917ff7d8f21a57e443a866fd8d4560e50c65
423
+  React-jsinspector: 111d7d342b07a904c400592e02a2b958f1098b60
424
+  React-RCTActionSheet: 89b037c0fb7d2671607cb645760164e7e0c013f6
425
+  React-RCTAnimation: e3cefa93c38c004c318f7ec04b883eb14b8b8235
426
+  React-RCTBlob: d26ac0e313fbf14e7203473fd593ccaaeee8329e
427
+  React-RCTImage: 4bdd9588783fa9e48ef669ccd4f747224e208edf
428
+  React-RCTLinking: 65f0088ff463babd3d5d567964a65b74141eff3b
429
+  React-RCTNetwork: 0c1a73576c1cfeafe68396556de1b17d93c0c595
430
+  React-RCTSettings: 4194f1f0edbddf3fd44d1714dc6578bb20379b60
431
+  React-RCTText: e3ef6191cdb627855ff7fe8fa0c1e14094967fb8
432
+  React-RCTVibration: fb54c732fd20405a76598e431aa2f8c2bf527de9
433
+  ReactCommon: 5848032ed2f274fcb40f6b9ec24067787c42d479
434
+  RNPermissions: daa03e029c245fa185728e34bf1e763bf7722d05
435 435
   RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
436
-  Yoga: d8c572ddec8d05b7dba08e4e5f1924004a177078
436
+  Yoga: 14927e37bd25376d216b150ab2a561773d57911f
437 437
 
438
-PODFILE CHECKSUM: fd41fb3cc785483e3289e017b0986b9b143fd760
438
+PODFILE CHECKSUM: ec8fe71d38ad340f719e72f6450303b56c99944c
439 439
 
440 440
 COCOAPODS: 1.7.5

+ 35
- 35
example/ios/RNPermissionsExample.xcodeproj/project.pbxproj Parādīt failu

@@ -11,7 +11,7 @@
11 11
 		13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
12 12
 		13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13 13
 		13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
14
-		FF61E46FEEB7199D22A548F5 /* libPods-RNPermissionsExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D78CFB0B797068FC55B9C8C1 /* libPods-RNPermissionsExample.a */; };
14
+		6875196781331FFE9E603F87 /* libPods-RNPermissionsExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DD155AF45729590903A0B306 /* libPods-RNPermissionsExample.a */; };
15 15
 /* End PBXBuildFile section */
16 16
 
17 17
 /* Begin PBXFileReference section */
@@ -23,9 +23,9 @@
23 23
 		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNPermissionsExample/Images.xcassets; sourceTree = "<group>"; };
24 24
 		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNPermissionsExample/Info.plist; sourceTree = "<group>"; };
25 25
 		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNPermissionsExample/main.m; sourceTree = "<group>"; };
26
-		6508191B9B16B2AC0281B3AC /* Pods-RNPermissionsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNPermissionsExample.release.xcconfig"; path = "Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample.release.xcconfig"; sourceTree = "<group>"; };
27
-		B6736F72654167EDBA7145AA /* Pods-RNPermissionsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNPermissionsExample.debug.xcconfig"; path = "Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample.debug.xcconfig"; sourceTree = "<group>"; };
28
-		D78CFB0B797068FC55B9C8C1 /* libPods-RNPermissionsExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNPermissionsExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
26
+		AEA89E08943D1AC580FE431E /* Pods-RNPermissionsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNPermissionsExample.release.xcconfig"; path = "Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample.release.xcconfig"; sourceTree = "<group>"; };
27
+		D6698846DE1278CE89BAFBAD /* Pods-RNPermissionsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNPermissionsExample.debug.xcconfig"; path = "Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample.debug.xcconfig"; sourceTree = "<group>"; };
28
+		DD155AF45729590903A0B306 /* libPods-RNPermissionsExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNPermissionsExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
29 29
 		ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
30 30
 		ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
31 31
 /* End PBXFileReference section */
@@ -35,7 +35,7 @@
35 35
 			isa = PBXFrameworksBuildPhase;
36 36
 			buildActionMask = 2147483647;
37 37
 			files = (
38
-				FF61E46FEEB7199D22A548F5 /* libPods-RNPermissionsExample.a in Frameworks */,
38
+				6875196781331FFE9E603F87 /* libPods-RNPermissionsExample.a in Frameworks */,
39 39
 			);
40 40
 			runOnlyForDeploymentPostprocessing = 0;
41 41
 		};
@@ -59,8 +59,8 @@
59 59
 		2426786032D9E4653AC74A82 /* Pods */ = {
60 60
 			isa = PBXGroup;
61 61
 			children = (
62
-				B6736F72654167EDBA7145AA /* Pods-RNPermissionsExample.debug.xcconfig */,
63
-				6508191B9B16B2AC0281B3AC /* Pods-RNPermissionsExample.release.xcconfig */,
62
+				D6698846DE1278CE89BAFBAD /* Pods-RNPermissionsExample.debug.xcconfig */,
63
+				AEA89E08943D1AC580FE431E /* Pods-RNPermissionsExample.release.xcconfig */,
64 64
 			);
65 65
 			path = Pods;
66 66
 			sourceTree = "<group>";
@@ -70,7 +70,7 @@
70 70
 			children = (
71 71
 				ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
72 72
 				ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
73
-				D78CFB0B797068FC55B9C8C1 /* libPods-RNPermissionsExample.a */,
73
+				DD155AF45729590903A0B306 /* libPods-RNPermissionsExample.a */,
74 74
 			);
75 75
 			name = Frameworks;
76 76
 			sourceTree = "<group>";
@@ -103,13 +103,13 @@
103 103
 			isa = PBXNativeTarget;
104 104
 			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNPermissionsExample" */;
105 105
 			buildPhases = (
106
-				B8E3F604061BE0BB6353585E /* [CP] Check Pods Manifest.lock */,
106
+				5CBE311E157ACE2DB1514386 /* [CP] Check Pods Manifest.lock */,
107 107
 				FD10A7F022414F080027D42C /* Start Packager */,
108 108
 				13B07F871A680F5B00A75B9A /* Sources */,
109 109
 				13B07F8C1A680F5B00A75B9A /* Frameworks */,
110 110
 				13B07F8E1A680F5B00A75B9A /* Resources */,
111 111
 				00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
112
-				B87A842ED79307A87D526EC5 /* [CP] Copy Pods Resources */,
112
+				7BFDA05E75F4BA8ABC64EEC3 /* [CP] Copy Pods Resources */,
113 113
 			);
114 114
 			buildRules = (
115 115
 			);
@@ -180,7 +180,29 @@
180 180
 			shellPath = /bin/sh;
181 181
 			shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
182 182
 		};
183
-		B87A842ED79307A87D526EC5 /* [CP] Copy Pods Resources */ = {
183
+		5CBE311E157ACE2DB1514386 /* [CP] Check Pods Manifest.lock */ = {
184
+			isa = PBXShellScriptBuildPhase;
185
+			buildActionMask = 2147483647;
186
+			files = (
187
+			);
188
+			inputFileListPaths = (
189
+			);
190
+			inputPaths = (
191
+				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
192
+				"${PODS_ROOT}/Manifest.lock",
193
+			);
194
+			name = "[CP] Check Pods Manifest.lock";
195
+			outputFileListPaths = (
196
+			);
197
+			outputPaths = (
198
+				"$(DERIVED_FILE_DIR)/Pods-RNPermissionsExample-checkManifestLockResult.txt",
199
+			);
200
+			runOnlyForDeploymentPostprocessing = 0;
201
+			shellPath = /bin/sh;
202
+			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
203
+			showEnvVarsInLog = 0;
204
+		};
205
+		7BFDA05E75F4BA8ABC64EEC3 /* [CP] Copy Pods Resources */ = {
184 206
 			isa = PBXShellScriptBuildPhase;
185 207
 			buildActionMask = 2147483647;
186 208
 			files = (
@@ -228,28 +250,6 @@
228 250
 			shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample-resources.sh\"\n";
229 251
 			showEnvVarsInLog = 0;
230 252
 		};
231
-		B8E3F604061BE0BB6353585E /* [CP] Check Pods Manifest.lock */ = {
232
-			isa = PBXShellScriptBuildPhase;
233
-			buildActionMask = 2147483647;
234
-			files = (
235
-			);
236
-			inputFileListPaths = (
237
-			);
238
-			inputPaths = (
239
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
240
-				"${PODS_ROOT}/Manifest.lock",
241
-			);
242
-			name = "[CP] Check Pods Manifest.lock";
243
-			outputFileListPaths = (
244
-			);
245
-			outputPaths = (
246
-				"$(DERIVED_FILE_DIR)/Pods-RNPermissionsExample-checkManifestLockResult.txt",
247
-			);
248
-			runOnlyForDeploymentPostprocessing = 0;
249
-			shellPath = /bin/sh;
250
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
251
-			showEnvVarsInLog = 0;
252
-		};
253 253
 		FD10A7F022414F080027D42C /* Start Packager */ = {
254 254
 			isa = PBXShellScriptBuildPhase;
255 255
 			buildActionMask = 2147483647;
@@ -298,7 +298,7 @@
298 298
 /* Begin XCBuildConfiguration section */
299 299
 		13B07F941A680F5B00A75B9A /* Debug */ = {
300 300
 			isa = XCBuildConfiguration;
301
-			baseConfigurationReference = B6736F72654167EDBA7145AA /* Pods-RNPermissionsExample.debug.xcconfig */;
301
+			baseConfigurationReference = D6698846DE1278CE89BAFBAD /* Pods-RNPermissionsExample.debug.xcconfig */;
302 302
 			buildSettings = {
303 303
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
304 304
 				CURRENT_PROJECT_VERSION = 1;
@@ -319,7 +319,7 @@
319 319
 		};
320 320
 		13B07F951A680F5B00A75B9A /* Release */ = {
321 321
 			isa = XCBuildConfiguration;
322
-			baseConfigurationReference = 6508191B9B16B2AC0281B3AC /* Pods-RNPermissionsExample.release.xcconfig */;
322
+			baseConfigurationReference = AEA89E08943D1AC580FE431E /* Pods-RNPermissionsExample.release.xcconfig */;
323 323
 			buildSettings = {
324 324
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
325 325
 				CURRENT_PROJECT_VERSION = 1;

+ 1
- 1
example/package.json Parādīt failu

@@ -12,7 +12,7 @@
12 12
   },
13 13
   "dependencies": {
14 14
     "react": "16.9.0",
15
-    "react-native": "0.61.1",
15
+    "react-native": "0.61.2",
16 16
     "react-native-paper": "2.16.0",
17 17
     "react-native-permissions": "../",
18 18
     "react-native-vector-icons": "6.6.0"

+ 33
- 33
example/yarn.lock Parādīt failu

@@ -847,7 +847,15 @@
847 847
     "@types/prop-types" "*"
848 848
     "@types/react" "*"
849 849
 
850
-"@types/react@*", "@types/react@16.9.3":
850
+"@types/react@*":
851
+  version "16.9.4"
852
+  resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.4.tgz#de8cf5e5e2838659fb78fa93181078469eeb19fc"
853
+  integrity sha512-ItGNmJvQ0IvWt8rbk5PLdpdQhvBVxAaXI9hDlx7UMd8Ie1iMIuwMNiKeTfmVN517CdplpyXvA22X4zm4jGGZnw==
854
+  dependencies:
855
+    "@types/prop-types" "*"
856
+    csstype "^2.2.0"
857
+
858
+"@types/react@16.9.3":
851 859
   version "16.9.3"
852 860
   resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.3.tgz#6d13251e441a3e67fb60d719d1fc8785b984a2ec"
853 861
   integrity sha512-Ogb2nSn+2qQv5opoCv7Ls5yFxtyrdUYxp5G+SWTrlGk7dmFKw331GiezCgEZj9U7QeXJi1CDtws9pdXU1zUL4g==
@@ -1165,9 +1173,9 @@ basic-auth@~2.0.0:
1165 1173
     safe-buffer "5.1.2"
1166 1174
 
1167 1175
 big-integer@^1.6.7:
1168
-  version "1.6.45"
1169
-  resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.45.tgz#1bf2fa1271bfd20d4c52c3d6c6f08cab8d91c77e"
1170
-  integrity sha512-nmb9E7oEtVJ7SmSCH/DeJobXyuRmaofkpoQSimMFu3HKJ5MADtM825SPLhDuWhZ6TElLAQtgJbQmBZuHIRlZoA==
1176
+  version "1.6.46"
1177
+  resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.46.tgz#e18a75f0515be0f3ad10c0d110e37fa882b3f223"
1178
+  integrity sha512-Vj2TNtZ8Y0XaL6HCkzJiEqfykjtv/9wVCWIutMe+QVIXLPe2tCLEzULtYvcX9WRtmNIj3Jqi5tNjIsR0N4QOsg==
1171 1179
 
1172 1180
 binary-extensions@^1.0.0:
1173 1181
   version "1.13.1"
@@ -1449,9 +1457,9 @@ colorette@^1.0.7:
1449 1457
   integrity sha512-6S062WDQUXi6hOfkO/sBPVwE5ASXY4G2+b4atvhJfSsuUUhIaUKlkjLe9692Ipyt5/a+IPF5aVTu3V5gvXq5cg==
1450 1458
 
1451 1459
 commander@^2.19.0:
1452
-  version "2.20.0"
1453
-  resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
1454
-  integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==
1460
+  version "2.20.1"
1461
+  resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.1.tgz#3863ce3ca92d0831dcf2a102f5fb4b5926afd0f9"
1462
+  integrity sha512-cCuLsMhJeWQ/ZpsFTbE765kvVfoeSddc4nU3up4fV+fDBcfUXnbITJ+JzhkdjzOqhURjZgujxaioam4RM9yGUg==
1455 1463
 
1456 1464
 commander@~2.13.0:
1457 1465
   version "2.13.0"
@@ -2648,9 +2656,9 @@ json-stable-stringify@^1.0.1:
2648 2656
     jsonify "~0.0.0"
2649 2657
 
2650 2658
 json5@^2.1.0:
2651
-  version "2.1.0"
2652
-  resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.0.tgz#e7a0c62c48285c628d20a10b85c89bb807c32850"
2653
-  integrity sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==
2659
+  version "2.1.1"
2660
+  resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6"
2661
+  integrity sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==
2654 2662
   dependencies:
2655 2663
     minimist "^1.2.0"
2656 2664
 
@@ -3167,15 +3175,7 @@ minimist@^1.1.1, minimist@^1.2.0:
3167 3175
   resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
3168 3176
   integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=
3169 3177
 
3170
-minipass@^2.6.0, minipass@^2.8.6:
3171
-  version "2.8.6"
3172
-  resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.8.6.tgz#620d889ace26356391d010ecb9458749df9b6db5"
3173
-  integrity sha512-lFG7d6g3+/UaFDCOtqPiKAC9zngWWsQZl1g5q6gaONqrjq61SX2xFqXMleQiFVyDpYwa018E9hmlAFY22PCb+A==
3174
-  dependencies:
3175
-    safe-buffer "^5.1.2"
3176
-    yallist "^3.0.0"
3177
-
3178
-minipass@^2.9.0:
3178
+minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0:
3179 3179
   version "2.9.0"
3180 3180
   resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6"
3181 3181
   integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==
@@ -3184,9 +3184,9 @@ minipass@^2.9.0:
3184 3184
     yallist "^3.0.0"
3185 3185
 
3186 3186
 minizlib@^1.2.1:
3187
-  version "1.3.2"
3188
-  resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.2.tgz#5d24764998f98112586f7e566bd4c0999769dad4"
3189
-  integrity sha512-lsNFqSHdJ21EwKzCp12HHJGxSMtHkCW1EMA9cceG3MkMNARjuWotZnMe3NKNshAvFXpm4loZqmYsCmRwhS2JMw==
3187
+  version "1.3.3"
3188
+  resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d"
3189
+  integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==
3190 3190
   dependencies:
3191 3191
     minipass "^2.9.0"
3192 3192
 
@@ -3768,9 +3768,9 @@ react-devtools-core@^3.6.3:
3768 3768
     ws "^3.3.1"
3769 3769
 
3770 3770
 react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4:
3771
-  version "16.10.0"
3772
-  resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.10.0.tgz#3d6a031e57fff73c3cfa0347feb3e8f40c5141e5"
3773
-  integrity sha512-WRki2sBb7MTpYp7FtDEmSeGKX2vamYyq3rc9o7fKUG+/DHVyJu69NnvJsiSwwhh2Tt8XN40MQHkDBEXwyfxncQ==
3771
+  version "16.10.1"
3772
+  resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.10.1.tgz#0612786bf19df406502d935494f0450b40b8294f"
3773
+  integrity sha512-BXUMf9sIOPXXZWqr7+c5SeOKJykyVr2u0UDzEf4LNGc6taGkQe1A9DFD07umCIXz45RLr9oAAwZbAJ0Pkknfaw==
3774 3774
 
3775 3775
 react-lifecycles-compat@^3.0.4:
3776 3776
   version "3.0.4"
@@ -3790,7 +3790,7 @@ react-native-paper@2.16.0:
3790 3790
     react-native-safe-area-view "^0.12.0"
3791 3791
 
3792 3792
 react-native-permissions@../:
3793
-  version "2.0.0"
3793
+  version "2.0.1"
3794 3794
 
3795 3795
 react-native-safe-area-view@^0.12.0:
3796 3796
   version "0.12.0"
@@ -3808,10 +3808,10 @@ react-native-vector-icons@6.6.0:
3808 3808
     prop-types "^15.6.2"
3809 3809
     yargs "^13.2.2"
3810 3810
 
3811
-react-native@0.61.1:
3812
-  version "0.61.1"
3813
-  resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.61.1.tgz#ac2559f78f9e689356fedfa93159026a25313d7d"
3814
-  integrity sha512-FjOhAgzjrPr2BjBITmCY+SHzWxfP/bv5ve3oN6ItoIPsVPjJG2QZE8yeByVdI4TzaZrGHU4Ag7/7hX4j39cj2Q==
3811
+react-native@0.61.2:
3812
+  version "0.61.2"
3813
+  resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.61.2.tgz#987b91b063557f8ebec803fdfea2044a24bdbe4d"
3814
+  integrity sha512-hhd8bYbkkZYHoOndxUwbjJ6Yd9HFn5PvwqqS41uJ1xADdw44rx/svuwmJNA1RKF7jH74uR2jpBViWYGd36zGyg==
3815 3815
   dependencies:
3816 3816
     "@babel/runtime" "^7.0.0"
3817 3817
     "@react-native-community/cli" "^3.0.0-alpha.1"
@@ -4841,9 +4841,9 @@ yallist@^2.1.2:
4841 4841
   integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=
4842 4842
 
4843 4843
 yallist@^3.0.0, yallist@^3.0.3:
4844
-  version "3.1.0"
4845
-  resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.0.tgz#906cc2100972dc2625ae78f566a2577230a1d6f7"
4846
-  integrity sha512-6gpP93MR+VOOehKbCPchro3wFZNSNmek8A2kbkOAZLIZAYx1KP/zAqwO0sOHi3xJEb+UBz8NaYt/17UNit1Q9w==
4844
+  version "3.1.1"
4845
+  resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
4846
+  integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
4847 4847
 
4848 4848
 yargs-parser@^11.1.1:
4849 4849
   version "11.1.1"

+ 1
- 1
package.json Parādīt failu

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "react-native-permissions",
3
-  "version": "2.0.0",
3
+  "version": "2.0.1",
4 4
   "license": "MIT",
5 5
   "description": "An unified permissions API for React Native on iOS and Android",
6 6
   "author": "Mathieu Acthernoene <zoontek@gmail.com>",

+ 58
- 0
src/constants.ts Parādīt failu

@@ -0,0 +1,58 @@
1
+export const ANDROID = Object.freeze({
2
+  ACCEPT_HANDOVER: 'android.permission.ACCEPT_HANDOVER' as const,
3
+  ACCESS_BACKGROUND_LOCATION: 'android.permission.ACCESS_BACKGROUND_LOCATION' as const,
4
+  ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION' as const,
5
+  ACCESS_FINE_LOCATION: 'android.permission.ACCESS_FINE_LOCATION' as const,
6
+  ACTIVITY_RECOGNITION: 'android.permission.ACTIVITY_RECOGNITION' as const,
7
+  ADD_VOICEMAIL: 'com.android.voicemail.permission.ADD_VOICEMAIL' as const,
8
+  ANSWER_PHONE_CALLS: 'android.permission.ANSWER_PHONE_CALLS' as const,
9
+  BODY_SENSORS: 'android.permission.BODY_SENSORS' as const,
10
+  CALL_PHONE: 'android.permission.CALL_PHONE' as const,
11
+  CAMERA: 'android.permission.CAMERA' as const,
12
+  GET_ACCOUNTS: 'android.permission.GET_ACCOUNTS' as const,
13
+  PROCESS_OUTGOING_CALLS: 'android.permission.PROCESS_OUTGOING_CALLS' as const,
14
+  READ_CALENDAR: 'android.permission.READ_CALENDAR' as const,
15
+  READ_CALL_LOG: 'android.permission.READ_CALL_LOG' as const,
16
+  READ_CONTACTS: 'android.permission.READ_CONTACTS' as const,
17
+  READ_EXTERNAL_STORAGE: 'android.permission.READ_EXTERNAL_STORAGE' as const,
18
+  READ_PHONE_NUMBERS: 'android.permission.READ_PHONE_NUMBERS' as const,
19
+  READ_PHONE_STATE: 'android.permission.READ_PHONE_STATE' as const,
20
+  READ_SMS: 'android.permission.READ_SMS' as const,
21
+  RECEIVE_MMS: 'android.permission.RECEIVE_MMS' as const,
22
+  RECEIVE_SMS: 'android.permission.RECEIVE_SMS' as const,
23
+  RECEIVE_WAP_PUSH: 'android.permission.RECEIVE_WAP_PUSH' as const,
24
+  RECORD_AUDIO: 'android.permission.RECORD_AUDIO' as const,
25
+  SEND_SMS: 'android.permission.SEND_SMS' as const,
26
+  USE_SIP: 'android.permission.USE_SIP' as const,
27
+  WRITE_CALENDAR: 'android.permission.WRITE_CALENDAR' as const,
28
+  WRITE_CALL_LOG: 'android.permission.WRITE_CALL_LOG' as const,
29
+  WRITE_CONTACTS: 'android.permission.WRITE_CONTACTS' as const,
30
+  WRITE_EXTERNAL_STORAGE: 'android.permission.WRITE_EXTERNAL_STORAGE' as const,
31
+});
32
+
33
+export const IOS = Object.freeze({
34
+  BLUETOOTH_PERIPHERAL: 'ios.permission.BLUETOOTH_PERIPHERAL' as const,
35
+  CALENDARS: 'ios.permission.CALENDARS' as const,
36
+  CAMERA: 'ios.permission.CAMERA' as const,
37
+  CONTACTS: 'ios.permission.CONTACTS' as const,
38
+  FACE_ID: 'ios.permission.FACE_ID' as const,
39
+  LOCATION_ALWAYS: 'ios.permission.LOCATION_ALWAYS' as const,
40
+  LOCATION_WHEN_IN_USE: 'ios.permission.LOCATION_WHEN_IN_USE' as const,
41
+  MEDIA_LIBRARY: 'ios.permission.MEDIA_LIBRARY' as const,
42
+  MICROPHONE: 'ios.permission.MICROPHONE' as const,
43
+  MOTION: 'ios.permission.MOTION' as const,
44
+  PHOTO_LIBRARY: 'ios.permission.PHOTO_LIBRARY' as const,
45
+  REMINDERS: 'ios.permission.REMINDERS' as const,
46
+  SIRI: 'ios.permission.SIRI' as const,
47
+  SPEECH_RECOGNITION: 'ios.permission.SPEECH_RECOGNITION' as const,
48
+  STOREKIT: 'ios.permission.STOREKIT' as const,
49
+});
50
+
51
+export const PERMISSIONS = Object.freeze({ANDROID, IOS});
52
+
53
+export const RESULTS = Object.freeze({
54
+  UNAVAILABLE: 'unavailable' as const,
55
+  DENIED: 'denied' as const,
56
+  BLOCKED: 'blocked' as const,
57
+  GRANTED: 'granted' as const,
58
+});

+ 10
- 89
src/index.ts Parādīt failu

@@ -5,97 +5,16 @@ import {
5 5
   Rationale,
6 6
 } from 'react-native';
7 7
 
8
-const NativePermissionsAndroid = NativeModules.PermissionsAndroid;
9
-
10
-const ANDROID = Object.freeze({
11
-  ACCEPT_HANDOVER: 'android.permission.ACCEPT_HANDOVER' as const,
12
-  ACCESS_BACKGROUND_LOCATION: 'android.permission.ACCESS_BACKGROUND_LOCATION' as const,
13
-  ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION' as const,
14
-  ACCESS_FINE_LOCATION: 'android.permission.ACCESS_FINE_LOCATION' as const,
15
-  ACTIVITY_RECOGNITION: 'android.permission.ACTIVITY_RECOGNITION' as const,
16
-  ADD_VOICEMAIL: 'com.android.voicemail.permission.ADD_VOICEMAIL' as const,
17
-  ANSWER_PHONE_CALLS: 'android.permission.ANSWER_PHONE_CALLS' as const,
18
-  BODY_SENSORS: 'android.permission.BODY_SENSORS' as const,
19
-  CALL_PHONE: 'android.permission.CALL_PHONE' as const,
20
-  CAMERA: 'android.permission.CAMERA' as const,
21
-  GET_ACCOUNTS: 'android.permission.GET_ACCOUNTS' as const,
22
-  PROCESS_OUTGOING_CALLS: 'android.permission.PROCESS_OUTGOING_CALLS' as const,
23
-  READ_CALENDAR: 'android.permission.READ_CALENDAR' as const,
24
-  READ_CALL_LOG: 'android.permission.READ_CALL_LOG' as const,
25
-  READ_CONTACTS: 'android.permission.READ_CONTACTS' as const,
26
-  READ_EXTERNAL_STORAGE: 'android.permission.READ_EXTERNAL_STORAGE' as const,
27
-  READ_PHONE_NUMBERS: 'android.permission.READ_PHONE_NUMBERS' as const,
28
-  READ_PHONE_STATE: 'android.permission.READ_PHONE_STATE' as const,
29
-  READ_SMS: 'android.permission.READ_SMS' as const,
30
-  RECEIVE_MMS: 'android.permission.RECEIVE_MMS' as const,
31
-  RECEIVE_SMS: 'android.permission.RECEIVE_SMS' as const,
32
-  RECEIVE_WAP_PUSH: 'android.permission.RECEIVE_WAP_PUSH' as const,
33
-  RECORD_AUDIO: 'android.permission.RECORD_AUDIO' as const,
34
-  SEND_SMS: 'android.permission.SEND_SMS' as const,
35
-  USE_SIP: 'android.permission.USE_SIP' as const,
36
-  WRITE_CALENDAR: 'android.permission.WRITE_CALENDAR' as const,
37
-  WRITE_CALL_LOG: 'android.permission.WRITE_CALL_LOG' as const,
38
-  WRITE_CONTACTS: 'android.permission.WRITE_CONTACTS' as const,
39
-  WRITE_EXTERNAL_STORAGE: 'android.permission.WRITE_EXTERNAL_STORAGE' as const,
40
-});
41
-
42
-const IOS = Object.freeze({
43
-  BLUETOOTH_PERIPHERAL: 'ios.permission.BLUETOOTH_PERIPHERAL' as const,
44
-  CALENDARS: 'ios.permission.CALENDARS' as const,
45
-  CAMERA: 'ios.permission.CAMERA' as const,
46
-  CONTACTS: 'ios.permission.CONTACTS' as const,
47
-  FACE_ID: 'ios.permission.FACE_ID' as const,
48
-  LOCATION_ALWAYS: 'ios.permission.LOCATION_ALWAYS' as const,
49
-  LOCATION_WHEN_IN_USE: 'ios.permission.LOCATION_WHEN_IN_USE' as const,
50
-  MEDIA_LIBRARY: 'ios.permission.MEDIA_LIBRARY' as const,
51
-  MICROPHONE: 'ios.permission.MICROPHONE' as const,
52
-  MOTION: 'ios.permission.MOTION' as const,
53
-  PHOTO_LIBRARY: 'ios.permission.PHOTO_LIBRARY' as const,
54
-  REMINDERS: 'ios.permission.REMINDERS' as const,
55
-  SIRI: 'ios.permission.SIRI' as const,
56
-  SPEECH_RECOGNITION: 'ios.permission.SPEECH_RECOGNITION' as const,
57
-  STOREKIT: 'ios.permission.STOREKIT' as const,
58
-});
59
-
60
-export const PERMISSIONS = Object.freeze({ANDROID, IOS});
61
-
62
-export const RESULTS = Object.freeze({
63
-  UNAVAILABLE: 'unavailable' as const,
64
-  DENIED: 'denied' as const,
65
-  BLOCKED: 'blocked' as const,
66
-  GRANTED: 'granted' as const,
67
-});
8
+import {
9
+  NotificationOption,
10
+  NotificationsResponse,
11
+  Permission,
12
+  PermissionStatus,
13
+} from './types';
68 14
 
69
-type Values<T extends object> = T[keyof T];
70
-
71
-export type AndroidPermission = Values<typeof ANDROID>;
72
-export type IOSPermission = Values<typeof IOS>;
73
-export type Permission = AndroidPermission | IOSPermission;
74
-
75
-export type PermissionStatus = Values<typeof RESULTS>;
76
-
77
-export type NotificationOption =
78
-  | 'alert'
79
-  | 'badge'
80
-  | 'sound'
81
-  | 'criticalAlert'
82
-  | 'carPlay'
83
-  | 'provisional';
84
-
85
-export interface NotificationSettings {
86
-  alert?: boolean;
87
-  badge?: boolean;
88
-  sound?: boolean;
89
-  lockScreen?: boolean;
90
-  carPlay?: boolean;
91
-  notificationCenter?: boolean;
92
-  criticalAlert?: boolean;
93
-}
15
+import {ANDROID, IOS, PERMISSIONS, RESULTS} from './constants';
94 16
 
95
-export interface NotificationsResponse {
96
-  status: PermissionStatus;
97
-  settings: NotificationSettings;
98
-}
17
+const NativePermissionsAndroid = NativeModules.PermissionsAndroid;
99 18
 
100 19
 const RNPermissions: {
101 20
   // Android + iOS
@@ -238,6 +157,8 @@ export function requestNotifications(
238 157
   return RNPermissions.requestNotifications(options);
239 158
 }
240 159
 
160
+export * from './types';
161
+
241 162
 export default {
242 163
   PERMISSIONS,
243 164
   RESULTS,

+ 32
- 0
src/types.ts Parādīt failu

@@ -0,0 +1,32 @@
1
+import {ANDROID, IOS, RESULTS} from './constants';
2
+
3
+type Values<T extends object> = T[keyof T];
4
+
5
+export type AndroidPermission = Values<typeof ANDROID>;
6
+export type IOSPermission = Values<typeof IOS>;
7
+export type Permission = AndroidPermission | IOSPermission;
8
+
9
+export type PermissionStatus = Values<typeof RESULTS>;
10
+
11
+export type NotificationOption =
12
+  | 'alert'
13
+  | 'badge'
14
+  | 'sound'
15
+  | 'criticalAlert'
16
+  | 'carPlay'
17
+  | 'provisional';
18
+
19
+export interface NotificationSettings {
20
+  alert?: boolean;
21
+  badge?: boolean;
22
+  sound?: boolean;
23
+  lockScreen?: boolean;
24
+  carPlay?: boolean;
25
+  notificationCenter?: boolean;
26
+  criticalAlert?: boolean;
27
+}
28
+
29
+export interface NotificationsResponse {
30
+  status: PermissionStatus;
31
+  settings: NotificationSettings;
32
+}