From 9d9a5d83975692f4da4d4a801e31157478897ace Mon Sep 17 00:00:00 2001 From: Mathieu Acthernoene Date: Sun, 6 Oct 2019 18:09:31 +0200 Subject: [PATCH] Bump to 2.0.2 --- example/App.tsx | 3 +- example/ios/Podfile.lock | 66 ++++++++++++++++++++-------------------- example/yarn.lock | 8 ++--- package.json | 2 +- src/index.ts | 1 - 5 files changed, 40 insertions(+), 40 deletions(-) diff --git a/example/App.tsx b/example/App.tsx index 0ab76aa3..289c0376 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -12,12 +12,13 @@ import { } from 'react-native'; import RNPermissions, { + PERMISSIONS, + RESULTS, PermissionStatus, Permission, NotificationsResponse, } from 'react-native-permissions'; -const {PERMISSIONS, RESULTS} = RNPermissions; // eslint-disable-next-line @typescript-eslint/no-unused-vars const {SIRI, ...PERMISSIONS_IOS} = PERMISSIONS.IOS; // remove siri (certificate required) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 2369911a..5ffb5bcf 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -19,35 +19,35 @@ PODS: - DoubleConversion - glog - glog (0.3.5) - - Permission-BluetoothPeripheral (2.0.1): + - Permission-BluetoothPeripheral (2.0.2): - RNPermissions - - Permission-Calendars (2.0.1): + - Permission-Calendars (2.0.2): - RNPermissions - - Permission-Camera (2.0.1): + - Permission-Camera (2.0.2): - RNPermissions - - Permission-Contacts (2.0.1): + - Permission-Contacts (2.0.2): - RNPermissions - - Permission-FaceID (2.0.1): + - Permission-FaceID (2.0.2): - RNPermissions - - Permission-LocationAlways (2.0.1): + - Permission-LocationAlways (2.0.2): - RNPermissions - - Permission-LocationWhenInUse (2.0.1): + - Permission-LocationWhenInUse (2.0.2): - RNPermissions - - Permission-MediaLibrary (2.0.1): + - Permission-MediaLibrary (2.0.2): - RNPermissions - - Permission-Microphone (2.0.1): + - Permission-Microphone (2.0.2): - RNPermissions - - Permission-Motion (2.0.1): + - Permission-Motion (2.0.2): - RNPermissions - - Permission-Notifications (2.0.1): + - Permission-Notifications (2.0.2): - RNPermissions - - Permission-PhotoLibrary (2.0.1): + - Permission-PhotoLibrary (2.0.2): - RNPermissions - - Permission-Reminders (2.0.1): + - Permission-Reminders (2.0.2): - RNPermissions - - Permission-SpeechRecognition (2.0.1): + - Permission-SpeechRecognition (2.0.2): - RNPermissions - - Permission-StoreKit (2.0.1): + - Permission-StoreKit (2.0.2): - RNPermissions - RCTRequired (0.61.2) - RCTTypeSafety (0.61.2): @@ -247,7 +247,7 @@ PODS: - React-cxxreact (= 0.61.2) - React-jsi (= 0.61.2) - ReactCommon/jscallinvoker (= 0.61.2) - - RNPermissions (2.0.1): + - RNPermissions (2.0.2): - React - RNVectorIcons (6.6.0): - React @@ -397,21 +397,21 @@ SPEC CHECKSUMS: FBReactNativeSpec: 5a764c60abdc3336a213e5310c40b74741f32839 Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 glog: 1f3da668190260b06b429bb211bfbee5cd790c28 - Permission-BluetoothPeripheral: c51e050bc6c04c3a073bc1f4fc9a0c7ff70724dd - Permission-Calendars: f2ba6d17a3f66b2086d06de9d9bae1fecd15a094 - Permission-Camera: 58bd09e7c82029b467cc981b42777ba27608b927 - Permission-Contacts: 4f77b736e8c7f00105e2a4f5301caa90c48b6e66 - Permission-FaceID: 767c3ef65983235065aedc6a7e048531fd8ab0f6 - Permission-LocationAlways: 719b9ff5385cf7f8661697b683504574ecebfc37 - Permission-LocationWhenInUse: bf8382d8a535e7dc68c223e1cae34d354bac6263 - Permission-MediaLibrary: dc4d430db5044d76d9078ab8526249715ab26a35 - Permission-Microphone: 164a5367e602fb8e282247d96230fcec46d10d3f - Permission-Motion: 240d392de4d33a04b0c4049a9d0355b786e79120 - Permission-Notifications: 4749374f22c802adcf72b5a7c84ade6968e7315f - Permission-PhotoLibrary: c7b56d8021e1b3f964cf79de63b2204dd597b8c4 - Permission-Reminders: f8028bfa1cc8818201a43988454bf175aa376c6b - Permission-SpeechRecognition: e8db1fb2bf7c2fd5bed855f2b92ee7d7020af541 - Permission-StoreKit: 12751ee0971dde3c364ed567c37365e7405da506 + Permission-BluetoothPeripheral: 72934ac209ab6238b883ae70b0387e54504a1a74 + Permission-Calendars: 36599553ccfb54d3b9af5a777102b22b71decd0c + Permission-Camera: 626e0ac1c9e92e680b223522dcf9344bb1041fff + Permission-Contacts: bd8980f2a060853da7673012dab313bb5a087a86 + Permission-FaceID: 3e8b5afdf136d1bbbfdc5c7279505880d8c7229b + Permission-LocationAlways: 94832b8fa358c939cc16c142e6eb15b8b0c6ffd1 + Permission-LocationWhenInUse: 75577651fdcc5bc34e1c41641989e13cfeac903a + Permission-MediaLibrary: c81ab01798b7c1faf23ea232995932af377a6d66 + Permission-Microphone: 310a87a9de8eae250bf430a63cc3d6f811199405 + Permission-Motion: bb39c790053463bf5ab3b7635154465a0cacfece + Permission-Notifications: e48255cd901bf9d294b9833bfaf51b82e8f67a77 + Permission-PhotoLibrary: 5ff534553bd84abcd1190bc80a7dcb8671a41e1a + Permission-Reminders: b79269dae7faa7746bc024b4b27c19d3b71683fb + Permission-SpeechRecognition: 40d5647d06c602aceebe4b5540a14e7b52a34172 + Permission-StoreKit: 465934988b7161f7e7c6072d6c30ce0e0fe7f757 RCTRequired: c639d59ed389cfb1f1203f65c2ea946d8ec586e2 RCTTypeSafety: dc23fb655d6c77667c78e327bf661bc11e3b8aec React: 7e586e5d7bec12b91c1a096826b0fc9ab1da7865 @@ -431,10 +431,10 @@ SPEC CHECKSUMS: React-RCTText: e3ef6191cdb627855ff7fe8fa0c1e14094967fb8 React-RCTVibration: fb54c732fd20405a76598e431aa2f8c2bf527de9 ReactCommon: 5848032ed2f274fcb40f6b9ec24067787c42d479 - RNPermissions: daa03e029c245fa185728e34bf1e763bf7722d05 + RNPermissions: 9525b0f4d209fdf9a373d52d1492ae2943e691e5 RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4 Yoga: 14927e37bd25376d216b150ab2a561773d57911f -PODFILE CHECKSUM: 70f55b4fbde93d4bb26d3fe0576d9f0813e81c72 +PODFILE CHECKSUM: fd41fb3cc785483e3289e017b0986b9b143fd760 COCOAPODS: 1.8.1 diff --git a/example/yarn.lock b/example/yarn.lock index 708aaa07..9c65ba34 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -692,9 +692,9 @@ "@hapi/topo" "3.x.x" "@hapi/topo@3.x.x": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-3.1.4.tgz#42e2fe36f593d90ad258a08b582be128c141c45d" - integrity sha512-aVWQTOI9wBD6zawmOr6f+tdEIxQC8JXfQVLTjgGe8YEStAWGn/GNNVTobKJhbWKveQj2RyYF3oYbO9SC8/eOCA== + version "3.1.5" + resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-3.1.5.tgz#3baea17e456530edad69a75c3fc7cde97dd6d331" + integrity sha512-bi9m1jrui9LlvtVdLaHv0DqeOoe+I8dep+nEcTgW6XxJHL3xArQcilYz3tIp0cRC4gWlsVtABK7vNKg4jzEmAA== dependencies: "@hapi/hoek" "8.x.x" @@ -3782,7 +3782,7 @@ react-native-paper@2.16.0: react-native-safe-area-view "^0.12.0" react-native-permissions@../: - version "2.0.1" + version "2.0.2" react-native-safe-area-view@^0.12.0: version "0.12.0" diff --git a/package.json b/package.json index a6dd8e80..22a96161 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-permissions", - "version": "2.0.1", + "version": "2.0.2", "license": "MIT", "description": "An unified permissions API for React Native on iOS and Android", "author": "Mathieu Acthernoene ", diff --git a/src/index.ts b/src/index.ts index f54a2745..d36f7ac3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -158,7 +158,6 @@ export function requestNotifications( } export * from './types'; - export {PERMISSIONS, RESULTS} from './constants'; export default {