|
@@ -232,6 +232,32 @@ public class MainApplication extends Application implements ReactApplication {
|
232
|
232
|
...
|
233
|
233
|
}
|
234
|
234
|
```
|
|
235
|
+## AppStore submission disclaimer
|
|
236
|
+
|
|
237
|
+If you need to submit you application to the AppStore, you need to add to your `Info.plist` all `*UsageDescription` keys with a string value explaining to the user how the app uses this data. **Even if you don't use them**.
|
|
238
|
+
|
|
239
|
+So before submitting your app to the `AppStore`, make sure that in your `Info.plist` you have the following keys:
|
|
240
|
+
|
|
241
|
+```
|
|
242
|
+
|
|
243
|
+<key>NSBluetoothPeripheralUsageDescription</key>
|
|
244
|
+<string>Some description</string>
|
|
245
|
+<key>NSCalendarsUsageDescription</key>
|
|
246
|
+<string>Some description</string>
|
|
247
|
+<key>NSCameraUsageDescription</key>
|
|
248
|
+<string>Some description</string>
|
|
249
|
+<key>NSLocationWhenInUseUsageDescription</key>
|
|
250
|
+<string>Some description</string>
|
|
251
|
+<key>NSPhotoLibraryUsageDescription</key>
|
|
252
|
+<string>Some description</string>
|
|
253
|
+
|
|
254
|
+```
|
|
255
|
+
|
|
256
|
+This is required because during the phase of `processing` in the `AppStore` submission, the system detects that you app contains code to request the permission `X` but don't have the `UsageDescription` key and rejects the build.
|
|
257
|
+
|
|
258
|
+> Please note that it will only be shown to the users the usage descriptions of the permissions you really require in your app.
|
|
259
|
+
|
|
260
|
+You can find more informations about this issue in #46.
|
235
|
261
|
|
236
|
262
|
## Troubleshooting
|
237
|
263
|
|