Skip to content

Commit 17e9ed7

Browse files
committed
Add setup-ios-permissions command
1 parent c22eb85 commit 17e9ed7

File tree

8 files changed

+169
-133
lines changed

8 files changed

+169
-133
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ example/
44
fetchWindowsCapabilites.js
55
mock.js
66
node_modules
7+
react-native.config.js

example/ios/Podfile

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -60,28 +60,6 @@ target 'RNPermissionsExample' do
6060
:app_path => "#{Pod::Config.instance.installation_root}/.."
6161
)
6262

63-
permissions_path = '../node_modules/react-native-permissions/ios'
64-
65-
pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
66-
pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
67-
pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars"
68-
pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
69-
pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
70-
pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID"
71-
pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy"
72-
pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
73-
pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
74-
pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary"
75-
pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"
76-
pod 'Permission-Motion', :path => "#{permissions_path}/Motion"
77-
pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"
78-
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
79-
pod 'Permission-PhotoLibraryAddOnly', :path => "#{permissions_path}/PhotoLibraryAddOnly"
80-
pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders"
81-
# pod 'Permission-Siri', :path => "#{permissions_path}/Siri"
82-
pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition"
83-
pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit"
84-
8563
post_install do |installer|
8664
react_native_post_install(
8765
installer,

example/ios/Podfile.lock

Lines changed: 2 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -78,42 +78,6 @@ PODS:
7878
- hermes-engine/Pre-built (0.71.3)
7979
- libevent (2.1.12)
8080
- OpenSSL-Universal (1.1.1100)
81-
- Permission-AppTrackingTransparency (3.6.1):
82-
- RNPermissions
83-
- Permission-BluetoothPeripheral (3.6.1):
84-
- RNPermissions
85-
- Permission-Calendars (3.6.1):
86-
- RNPermissions
87-
- Permission-Camera (3.6.1):
88-
- RNPermissions
89-
- Permission-Contacts (3.6.1):
90-
- RNPermissions
91-
- Permission-FaceID (3.6.1):
92-
- RNPermissions
93-
- Permission-LocationAccuracy (3.6.1):
94-
- RNPermissions
95-
- Permission-LocationAlways (3.6.1):
96-
- RNPermissions
97-
- Permission-LocationWhenInUse (3.6.1):
98-
- RNPermissions
99-
- Permission-MediaLibrary (3.6.1):
100-
- RNPermissions
101-
- Permission-Microphone (3.6.1):
102-
- RNPermissions
103-
- Permission-Motion (3.6.1):
104-
- RNPermissions
105-
- Permission-Notifications (3.6.1):
106-
- RNPermissions
107-
- Permission-PhotoLibrary (3.6.1):
108-
- RNPermissions
109-
- Permission-PhotoLibraryAddOnly (3.6.1):
110-
- RNPermissions
111-
- Permission-Reminders (3.6.1):
112-
- RNPermissions
113-
- Permission-SpeechRecognition (3.6.1):
114-
- RNPermissions
115-
- Permission-StoreKit (3.6.1):
116-
- RNPermissions
11781
- RCT-Folly (2021.07.22.00):
11882
- boost
11983
- DoubleConversion
@@ -494,24 +458,6 @@ DEPENDENCIES:
494458
- hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
495459
- libevent (~> 2.1.12)
496460
- OpenSSL-Universal (= 1.1.1100)
497-
- Permission-AppTrackingTransparency (from `../node_modules/react-native-permissions/ios/AppTrackingTransparency`)
498-
- Permission-BluetoothPeripheral (from `../node_modules/react-native-permissions/ios/BluetoothPeripheral`)
499-
- Permission-Calendars (from `../node_modules/react-native-permissions/ios/Calendars`)
500-
- Permission-Camera (from `../node_modules/react-native-permissions/ios/Camera`)
501-
- Permission-Contacts (from `../node_modules/react-native-permissions/ios/Contacts`)
502-
- Permission-FaceID (from `../node_modules/react-native-permissions/ios/FaceID`)
503-
- Permission-LocationAccuracy (from `../node_modules/react-native-permissions/ios/LocationAccuracy`)
504-
- Permission-LocationAlways (from `../node_modules/react-native-permissions/ios/LocationAlways`)
505-
- Permission-LocationWhenInUse (from `../node_modules/react-native-permissions/ios/LocationWhenInUse`)
506-
- Permission-MediaLibrary (from `../node_modules/react-native-permissions/ios/MediaLibrary`)
507-
- Permission-Microphone (from `../node_modules/react-native-permissions/ios/Microphone`)
508-
- Permission-Motion (from `../node_modules/react-native-permissions/ios/Motion`)
509-
- Permission-Notifications (from `../node_modules/react-native-permissions/ios/Notifications`)
510-
- Permission-PhotoLibrary (from `../node_modules/react-native-permissions/ios/PhotoLibrary`)
511-
- Permission-PhotoLibraryAddOnly (from `../node_modules/react-native-permissions/ios/PhotoLibraryAddOnly`)
512-
- Permission-Reminders (from `../node_modules/react-native-permissions/ios/Reminders`)
513-
- Permission-SpeechRecognition (from `../node_modules/react-native-permissions/ios/SpeechRecognition`)
514-
- Permission-StoreKit (from `../node_modules/react-native-permissions/ios/StoreKit`)
515461
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
516462
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
517463
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
@@ -577,42 +523,6 @@ EXTERNAL SOURCES:
577523
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
578524
hermes-engine:
579525
:podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec"
580-
Permission-AppTrackingTransparency:
581-
:path: "../node_modules/react-native-permissions/ios/AppTrackingTransparency"
582-
Permission-BluetoothPeripheral:
583-
:path: "../node_modules/react-native-permissions/ios/BluetoothPeripheral"
584-
Permission-Calendars:
585-
:path: "../node_modules/react-native-permissions/ios/Calendars"
586-
Permission-Camera:
587-
:path: "../node_modules/react-native-permissions/ios/Camera"
588-
Permission-Contacts:
589-
:path: "../node_modules/react-native-permissions/ios/Contacts"
590-
Permission-FaceID:
591-
:path: "../node_modules/react-native-permissions/ios/FaceID"
592-
Permission-LocationAccuracy:
593-
:path: "../node_modules/react-native-permissions/ios/LocationAccuracy"
594-
Permission-LocationAlways:
595-
:path: "../node_modules/react-native-permissions/ios/LocationAlways"
596-
Permission-LocationWhenInUse:
597-
:path: "../node_modules/react-native-permissions/ios/LocationWhenInUse"
598-
Permission-MediaLibrary:
599-
:path: "../node_modules/react-native-permissions/ios/MediaLibrary"
600-
Permission-Microphone:
601-
:path: "../node_modules/react-native-permissions/ios/Microphone"
602-
Permission-Motion:
603-
:path: "../node_modules/react-native-permissions/ios/Motion"
604-
Permission-Notifications:
605-
:path: "../node_modules/react-native-permissions/ios/Notifications"
606-
Permission-PhotoLibrary:
607-
:path: "../node_modules/react-native-permissions/ios/PhotoLibrary"
608-
Permission-PhotoLibraryAddOnly:
609-
:path: "../node_modules/react-native-permissions/ios/PhotoLibraryAddOnly"
610-
Permission-Reminders:
611-
:path: "../node_modules/react-native-permissions/ios/Reminders"
612-
Permission-SpeechRecognition:
613-
:path: "../node_modules/react-native-permissions/ios/SpeechRecognition"
614-
Permission-StoreKit:
615-
:path: "../node_modules/react-native-permissions/ios/StoreKit"
616526
RCT-Folly:
617527
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
618528
RCTRequired:
@@ -696,24 +606,6 @@ SPEC CHECKSUMS:
696606
hermes-engine: 38bfe887e456b33b697187570a08de33969f5db7
697607
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
698608
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
699-
Permission-AppTrackingTransparency: 9eedbc3b5a2907b8cb2c971461754616eac1661d
700-
Permission-BluetoothPeripheral: 67708853584bb9208c76d36d0e0ea4eafb97ea5b
701-
Permission-Calendars: dd55f36958c398a487f141d4c89119907e34dca8
702-
Permission-Camera: bf6791b17c7f614b6826019fcfdcc286d3a107f6
703-
Permission-Contacts: 2484d274171688b1ca80978b949ac771259b51f0
704-
Permission-FaceID: e70223280292a1a5e4b8ad943b70cd9229a7d2c3
705-
Permission-LocationAccuracy: 76df17de5c6b8bc2eee34e61ee92cdd7a864c73d
706-
Permission-LocationAlways: 8d99b025c9f73c696e0cdb367e42525f2e9a26f2
707-
Permission-LocationWhenInUse: 3ba99e45c852763f730eabecec2870c2382b7bd4
708-
Permission-MediaLibrary: a994236bae41b3597a376ff08298fb1c6d84729b
709-
Permission-Microphone: 48212dd4d28025d9930d583e3c7a56da7268665c
710-
Permission-Motion: d3e5ac6c989b2594a3c5c5ab19ffe9453fa3eb5c
711-
Permission-Notifications: 150484ae586eb9be4e32217582a78350a9bb31c3
712-
Permission-PhotoLibrary: 5b34ca67279f7201ae109cef36f9806a6596002d
713-
Permission-PhotoLibraryAddOnly: 6dba8924024e239af2e282daa8a88967679b4983
714-
Permission-Reminders: dd6692dab69ae8a4e2473860e25b6304f9bcd326
715-
Permission-SpeechRecognition: 7bda51c7a3b68f259a98436ed431afdf84a19ecf
716-
Permission-StoreKit: 7dcf43ad1b8cdc7ae21e547d49df9ac9b6ea7270
717609
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
718610
RCTRequired: bec48f07daf7bcdc2655a0cde84e07d24d2a9e2a
719611
RCTTypeSafety: 171394eebacf71e1cfad79dbfae7ee8fc16ca80a
@@ -742,12 +634,12 @@ SPEC CHECKSUMS:
742634
React-RCTVibration: 5199a180d04873366a83855de55ac33ce60fe4d5
743635
React-runtimeexecutor: 7bf0dafc7b727d93c8cb94eb00a9d3753c446c3e
744636
ReactCommon: 6f65ea5b7d84deb9e386f670dd11ce499ded7b40
745-
RNPermissions: dcdb7b99796bbeda6975a6e79ad519c41b251b1c
637+
RNPermissions: 8fe40a77a65c55cdfedfd5f599ae70e7d48a4363
746638
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
747639
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
748640
Yoga: 5ed1699acbba8863755998a4245daa200ff3817b
749641
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
750642

751-
PODFILE CHECKSUM: 31bbb3fdb2c3b3bc787b7409362c73d1b56d9e38
643+
PODFILE CHECKSUM: a82725b0519bb703578f8fa0cdb0ea17b1d2c946
752644

753645
COCOAPODS: 1.11.3

example/package.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,30 @@
77
"clean-modules": "rm -rf ./node_modules/react-native-permissions/{example,node_modules}",
88
"clean": "rm -rf ./node_modules ./ios/Pods",
99
"preinstall": "cd .. && yarn prepack && cd example",
10-
"postinstall": "yarn clean-modules && pod-install",
10+
"postinstall": "yarn clean-modules && react-native setup-ios-permissions && pod-install",
1111
"start": "react-native start",
1212
"reinstall": "yarn clean && yarn install"
1313
},
14+
"iosPermissions": [
15+
"AppTrackingTransparency",
16+
"BluetoothPeripheral",
17+
"Calendars",
18+
"Camera",
19+
"Contacts",
20+
"FaceID",
21+
"LocationAccuracy",
22+
"LocationAlways",
23+
"LocationWhenInUse",
24+
"MediaLibrary",
25+
"Microphone",
26+
"Motion",
27+
"Notifications",
28+
"PhotoLibrary",
29+
"PhotoLibraryAddOnly",
30+
"Reminders",
31+
"SpeechRecognition",
32+
"StoreKit"
33+
],
1434
"dependencies": {
1535
"react": "18.2.0",
1636
"react-native": "0.71.3",

example/yarn.lock

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,6 +1954,11 @@ argparse@^1.0.7:
19541954
dependencies:
19551955
sprintf-js "~1.0.2"
19561956

1957+
argparse@^2.0.1:
1958+
version "2.0.1"
1959+
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
1960+
integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==
1961+
19571962
arr-diff@^4.0.0:
19581963
version "4.0.0"
19591964
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520"
@@ -2247,6 +2252,11 @@ callsites@^2.0.0:
22472252
resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50"
22482253
integrity sha512-ksWePWBloaWPxJYQ8TL0JHvtci6G5QTKwQ95RcWAa/lzoAKuAOflGdAK92hpHXjkwb8zLxoLNUoNYZgVsaJzvQ==
22492254

2255+
callsites@^3.0.0:
2256+
version "3.1.0"
2257+
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
2258+
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
2259+
22502260
camelcase@^5.0.0:
22512261
version "5.3.1"
22522262
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
@@ -2533,6 +2543,16 @@ cosmiconfig@^5.0.5, cosmiconfig@^5.1.0:
25332543
js-yaml "^3.13.1"
25342544
parse-json "^4.0.0"
25352545

2546+
cosmiconfig@^8.0.0:
2547+
version "8.0.0"
2548+
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.0.0.tgz#e9feae014eab580f858f8a0288f38997a7bebe97"
2549+
integrity sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==
2550+
dependencies:
2551+
import-fresh "^3.2.1"
2552+
js-yaml "^4.1.0"
2553+
parse-json "^5.0.0"
2554+
path-type "^4.0.0"
2555+
25362556
cross-spawn@^6.0.0:
25372557
version "6.0.5"
25382558
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
@@ -3273,6 +3293,14 @@ import-fresh@^2.0.0:
32733293
caller-path "^2.0.0"
32743294
resolve-from "^3.0.0"
32753295

3296+
import-fresh@^3.2.1:
3297+
version "3.3.0"
3298+
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"
3299+
integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==
3300+
dependencies:
3301+
parent-module "^1.0.0"
3302+
resolve-from "^4.0.0"
3303+
32763304
imurmurhash@^0.1.4:
32773305
version "0.1.4"
32783306
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
@@ -3614,6 +3642,13 @@ js-yaml@^3.13.1:
36143642
argparse "^1.0.7"
36153643
esprima "^4.0.0"
36163644

3645+
js-yaml@^4.1.0:
3646+
version "4.1.0"
3647+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"
3648+
integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==
3649+
dependencies:
3650+
argparse "^2.0.1"
3651+
36173652
jsc-android@^250230.2.1:
36183653
version "250230.2.1"
36193654
resolved "https://registry.yarnpkg.com/jsc-android/-/jsc-android-250230.2.1.tgz#3790313a970586a03ab0ad47defbc84df54f1b83"
@@ -3664,6 +3699,11 @@ json-parse-better-errors@^1.0.1:
36643699
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
36653700
integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==
36663701

3702+
json-parse-even-better-errors@^2.3.0:
3703+
version "2.3.1"
3704+
resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d"
3705+
integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==
3706+
36673707
json5@^2.2.2:
36683708
version "2.2.3"
36693709
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
@@ -3717,6 +3757,11 @@ leven@^3.1.0:
37173757
resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
37183758
integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==
37193759

3760+
lines-and-columns@^1.1.6:
3761+
version "1.2.4"
3762+
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
3763+
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
3764+
37203765
load-json-file@^4.0.0:
37213766
version "4.0.0"
37223767
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
@@ -4742,6 +4787,13 @@ p-try@^2.0.0:
47424787
resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
47434788
integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
47444789

4790+
parent-module@^1.0.0:
4791+
version "1.0.1"
4792+
resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
4793+
integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==
4794+
dependencies:
4795+
callsites "^3.0.0"
4796+
47454797
parse-json@^4.0.0:
47464798
version "4.0.0"
47474799
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
@@ -4750,6 +4802,16 @@ parse-json@^4.0.0:
47504802
error-ex "^1.3.1"
47514803
json-parse-better-errors "^1.0.1"
47524804

4805+
parse-json@^5.0.0:
4806+
version "5.2.0"
4807+
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd"
4808+
integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==
4809+
dependencies:
4810+
"@babel/code-frame" "^7.0.0"
4811+
error-ex "^1.3.1"
4812+
json-parse-even-better-errors "^2.3.0"
4813+
lines-and-columns "^1.1.6"
4814+
47534815
parseurl@~1.3.3:
47544816
version "1.3.3"
47554817
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
@@ -4959,6 +5021,9 @@ react-native-paper@^5.2.0:
49595021

49605022
react-native-permissions@../:
49615023
version "3.6.1"
5024+
dependencies:
5025+
cosmiconfig "^8.0.0"
5026+
picocolors "^1.0.0"
49625027

49635028
react-native-safe-area-context@^4.5.0:
49645029
version "4.5.0"
@@ -5201,6 +5266,11 @@ resolve-from@^3.0.0:
52015266
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748"
52025267
integrity sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==
52035268

5269+
resolve-from@^4.0.0:
5270+
version "4.0.0"
5271+
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
5272+
integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==
5273+
52045274
resolve-url@^0.2.1:
52055275
version "0.2.1"
52065276
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
"optional": true
6060
}
6161
},
62+
"dependencies": {
63+
"cosmiconfig": "^8.0.0",
64+
"picocolors": "^1.0.0"
65+
},
6266
"devDependencies": {
6367
"@types/react-native": "^0.71.3",
6468
"@typescript-eslint/eslint-plugin": "^5.53.0",

0 commit comments

Comments
 (0)