@@ -92,49 +92,6 @@ setup_permissions([
9292# …
9393```
9494
95- <details >
96- <summary ><b >🧩 For expo users, see the plugin instructions</b ></summary >
97-
98- If you use expo you can use the built-in expo config plugin to perform the work outlined in steps 1 and 2:
99-
100- ``` json
101- {
102- "name" : " My awesome app" ,
103- "plugins" : [
104- [
105- " react-native-permissions" ,
106- {
107- // uncomment wanted permissions
108- "iosPermissions" : [
109- // "AppTrackingTransparency",
110- // "Bluetooth"
111- // "Calendars",
112- // "CalendarsWriteOnly",
113- // "Camera",
114- // "Contacts",
115- // "FaceID",
116- // "LocationAccuracy",
117- // "LocationAlways",
118- // "LocationWhenInUse",
119- // "MediaLibrary",
120- // "Microphone",
121- // "Motion",
122- // "Notifications",
123- // "PhotoLibrary",
124- // "PhotoLibraryAddOnly",
125- // "Reminders",
126- // "Siri",
127- // "SpeechRecognition",
128- // "StoreKit"
129- ]
130- }
131- ]
132- ]
133- }
134- ```
135-
136- </details >
137-
138953 . Then execute ` pod install ` _ (📌 Note that it must be re-executed each time you update this config)_ .
13996
140974 . Finally, update your ` Info.plist ` with the wanted permissions usage descriptions:
@@ -195,6 +152,49 @@ If you use expo you can use the built-in expo config plugin to perform the work
195152</plist >
196153```
197154
155+ <details >
156+ <summary ><b >🧩 For expo users, see the plugin instructions</b ></summary >
157+
158+ If you use expo you can use the built-in expo config plugin to perform the work outlined in steps 1 and 2:
159+
160+ ``` js
161+ {
162+ " name" : " My awesome app" ,
163+ " plugins" : [
164+ [
165+ " react-native-permissions" ,
166+ {
167+ // uncomment wanted permissions
168+ " iosPermissions" : [
169+ // "AppTrackingTransparency",
170+ // "Bluetooth"
171+ // "Calendars",
172+ // "CalendarsWriteOnly",
173+ // "Camera",
174+ // "Contacts",
175+ // "FaceID",
176+ // "LocationAccuracy",
177+ // "LocationAlways",
178+ // "LocationWhenInUse",
179+ // "MediaLibrary",
180+ // "Microphone",
181+ // "Motion",
182+ // "Notifications",
183+ // "PhotoLibrary",
184+ // "PhotoLibraryAddOnly",
185+ // "Reminders",
186+ // "Siri",
187+ // "SpeechRecognition",
188+ // "StoreKit"
189+ ]
190+ }
191+ ]
192+ ]
193+ }
194+ ```
195+
196+ </details >
197+
198198### Android
199199
200200Add all wanted permissions to your app ` android/app/src/main/AndroidManifest.xml ` file:
0 commit comments