Browse Source

Bump to 2.0.2

Mathieu Acthernoene 5 years ago
parent
commit
9d9a5d8397
5 changed files with 40 additions and 40 deletions
  1. 2
    1
      example/App.tsx
  2. 33
    33
      example/ios/Podfile.lock
  3. 4
    4
      example/yarn.lock
  4. 1
    1
      package.json
  5. 0
    1
      src/index.ts

+ 2
- 1
example/App.tsx View File

@@ -12,12 +12,13 @@ import {
12 12
 } from 'react-native';
13 13
 
14 14
 import RNPermissions, {
15
+  PERMISSIONS,
16
+  RESULTS,
15 17
   PermissionStatus,
16 18
   Permission,
17 19
   NotificationsResponse,
18 20
 } from 'react-native-permissions';
19 21
 
20
-const {PERMISSIONS, RESULTS} = RNPermissions;
21 22
 // eslint-disable-next-line @typescript-eslint/no-unused-vars
22 23
 const {SIRI, ...PERMISSIONS_IOS} = PERMISSIONS.IOS; // remove siri (certificate required)
23 24
 

+ 33
- 33
example/ios/Podfile.lock View File

@@ -19,35 +19,35 @@ PODS:
19 19
     - DoubleConversion
20 20
     - glog
21 21
   - glog (0.3.5)
22
-  - Permission-BluetoothPeripheral (2.0.1):
22
+  - Permission-BluetoothPeripheral (2.0.2):
23 23
     - RNPermissions
24
-  - Permission-Calendars (2.0.1):
24
+  - Permission-Calendars (2.0.2):
25 25
     - RNPermissions
26
-  - Permission-Camera (2.0.1):
26
+  - Permission-Camera (2.0.2):
27 27
     - RNPermissions
28
-  - Permission-Contacts (2.0.1):
28
+  - Permission-Contacts (2.0.2):
29 29
     - RNPermissions
30
-  - Permission-FaceID (2.0.1):
30
+  - Permission-FaceID (2.0.2):
31 31
     - RNPermissions
32
-  - Permission-LocationAlways (2.0.1):
32
+  - Permission-LocationAlways (2.0.2):
33 33
     - RNPermissions
34
-  - Permission-LocationWhenInUse (2.0.1):
34
+  - Permission-LocationWhenInUse (2.0.2):
35 35
     - RNPermissions
36
-  - Permission-MediaLibrary (2.0.1):
36
+  - Permission-MediaLibrary (2.0.2):
37 37
     - RNPermissions
38
-  - Permission-Microphone (2.0.1):
38
+  - Permission-Microphone (2.0.2):
39 39
     - RNPermissions
40
-  - Permission-Motion (2.0.1):
40
+  - Permission-Motion (2.0.2):
41 41
     - RNPermissions
42
-  - Permission-Notifications (2.0.1):
42
+  - Permission-Notifications (2.0.2):
43 43
     - RNPermissions
44
-  - Permission-PhotoLibrary (2.0.1):
44
+  - Permission-PhotoLibrary (2.0.2):
45 45
     - RNPermissions
46
-  - Permission-Reminders (2.0.1):
46
+  - Permission-Reminders (2.0.2):
47 47
     - RNPermissions
48
-  - Permission-SpeechRecognition (2.0.1):
48
+  - Permission-SpeechRecognition (2.0.2):
49 49
     - RNPermissions
50
-  - Permission-StoreKit (2.0.1):
50
+  - Permission-StoreKit (2.0.2):
51 51
     - RNPermissions
52 52
   - RCTRequired (0.61.2)
53 53
   - RCTTypeSafety (0.61.2):
@@ -247,7 +247,7 @@ PODS:
247 247
     - React-cxxreact (= 0.61.2)
248 248
     - React-jsi (= 0.61.2)
249 249
     - ReactCommon/jscallinvoker (= 0.61.2)
250
-  - RNPermissions (2.0.1):
250
+  - RNPermissions (2.0.2):
251 251
     - React
252 252
   - RNVectorIcons (6.6.0):
253 253
     - React
@@ -397,21 +397,21 @@ SPEC CHECKSUMS:
397 397
   FBReactNativeSpec: 5a764c60abdc3336a213e5310c40b74741f32839
398 398
   Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
399 399
   glog: 1f3da668190260b06b429bb211bfbee5cd790c28
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
400
+  Permission-BluetoothPeripheral: 72934ac209ab6238b883ae70b0387e54504a1a74
401
+  Permission-Calendars: 36599553ccfb54d3b9af5a777102b22b71decd0c
402
+  Permission-Camera: 626e0ac1c9e92e680b223522dcf9344bb1041fff
403
+  Permission-Contacts: bd8980f2a060853da7673012dab313bb5a087a86
404
+  Permission-FaceID: 3e8b5afdf136d1bbbfdc5c7279505880d8c7229b
405
+  Permission-LocationAlways: 94832b8fa358c939cc16c142e6eb15b8b0c6ffd1
406
+  Permission-LocationWhenInUse: 75577651fdcc5bc34e1c41641989e13cfeac903a
407
+  Permission-MediaLibrary: c81ab01798b7c1faf23ea232995932af377a6d66
408
+  Permission-Microphone: 310a87a9de8eae250bf430a63cc3d6f811199405
409
+  Permission-Motion: bb39c790053463bf5ab3b7635154465a0cacfece
410
+  Permission-Notifications: e48255cd901bf9d294b9833bfaf51b82e8f67a77
411
+  Permission-PhotoLibrary: 5ff534553bd84abcd1190bc80a7dcb8671a41e1a
412
+  Permission-Reminders: b79269dae7faa7746bc024b4b27c19d3b71683fb
413
+  Permission-SpeechRecognition: 40d5647d06c602aceebe4b5540a14e7b52a34172
414
+  Permission-StoreKit: 465934988b7161f7e7c6072d6c30ce0e0fe7f757
415 415
   RCTRequired: c639d59ed389cfb1f1203f65c2ea946d8ec586e2
416 416
   RCTTypeSafety: dc23fb655d6c77667c78e327bf661bc11e3b8aec
417 417
   React: 7e586e5d7bec12b91c1a096826b0fc9ab1da7865
@@ -431,10 +431,10 @@ SPEC CHECKSUMS:
431 431
   React-RCTText: e3ef6191cdb627855ff7fe8fa0c1e14094967fb8
432 432
   React-RCTVibration: fb54c732fd20405a76598e431aa2f8c2bf527de9
433 433
   ReactCommon: 5848032ed2f274fcb40f6b9ec24067787c42d479
434
-  RNPermissions: daa03e029c245fa185728e34bf1e763bf7722d05
434
+  RNPermissions: 9525b0f4d209fdf9a373d52d1492ae2943e691e5
435 435
   RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
436 436
   Yoga: 14927e37bd25376d216b150ab2a561773d57911f
437 437
 
438
-PODFILE CHECKSUM: 70f55b4fbde93d4bb26d3fe0576d9f0813e81c72
438
+PODFILE CHECKSUM: fd41fb3cc785483e3289e017b0986b9b143fd760
439 439
 
440 440
 COCOAPODS: 1.8.1

+ 4
- 4
example/yarn.lock View File

@@ -692,9 +692,9 @@
692 692
     "@hapi/topo" "3.x.x"
693 693
 
694 694
 "@hapi/topo@3.x.x":
695
-  version "3.1.4"
696
-  resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-3.1.4.tgz#42e2fe36f593d90ad258a08b582be128c141c45d"
697
-  integrity sha512-aVWQTOI9wBD6zawmOr6f+tdEIxQC8JXfQVLTjgGe8YEStAWGn/GNNVTobKJhbWKveQj2RyYF3oYbO9SC8/eOCA==
695
+  version "3.1.5"
696
+  resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-3.1.5.tgz#3baea17e456530edad69a75c3fc7cde97dd6d331"
697
+  integrity sha512-bi9m1jrui9LlvtVdLaHv0DqeOoe+I8dep+nEcTgW6XxJHL3xArQcilYz3tIp0cRC4gWlsVtABK7vNKg4jzEmAA==
698 698
   dependencies:
699 699
     "@hapi/hoek" "8.x.x"
700 700
 
@@ -3782,7 +3782,7 @@ react-native-paper@2.16.0:
3782 3782
     react-native-safe-area-view "^0.12.0"
3783 3783
 
3784 3784
 react-native-permissions@../:
3785
-  version "2.0.1"
3785
+  version "2.0.2"
3786 3786
 
3787 3787
 react-native-safe-area-view@^0.12.0:
3788 3788
   version "0.12.0"

+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "react-native-permissions",
3
-  "version": "2.0.1",
3
+  "version": "2.0.2",
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>",

+ 0
- 1
src/index.ts View File

@@ -158,7 +158,6 @@ export function requestNotifications(
158 158
 }
159 159
 
160 160
 export * from './types';
161
-
162 161
 export {PERMISSIONS, RESULTS} from './constants';
163 162
 
164 163
 export default {