You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -61,13 +61,20 @@ $ pod install
61
61
```
62
62
Make sure to replace `{{app_token}}` with your application token. Find it [here](https://instabug.com/app/sdk/).
63
63
64
-
3. Add following keys to your application .plist file:
65
-
66
-
**NSMicrophoneUsageDescription** This should describe why you need to access microphone. Prompt message will not appear unless user try to attach voice note while reporting. The description can be something like "Voice notes recording requires access to microphone"
64
+
## Notes
65
+
Instabug needs access to the microphone and photo library. Starting from iOS 10, apps that don’t provide a usage description for those 2 permissions would be rejected when submitted to the App Store.
66
+
67
+
For your app not to be rejected, you’ll need to add the following 2 keys to your app’s info.plist file with text explaining to the user why those permissions are needed:
68
+
69
+
* `NSMicrophoneUsageDescription`
70
+
* `NSPhotoLibraryUsageDescription`
71
+
72
+
If your app doesn’t already access the microphone or photo library, we recommend using a usage description like:
67
73
68
-
**NSPhotoLibraryUsageDescription** Should describe why your application needs to access Photo Library. Prompt message will not appear unless user try to attach photo from Photo Library. The description can be something like "Attaching images from Photo Library requires access to Photo Library"
74
+
*"`<app name>` needs access to the microphone to be able to attach voice notes."
75
+
*"`<app name>` needs access to your photo library for you to be able to attach images."
69
76
70
-
They are required starting from iOS 10to avoid AppStore rejection.
77
+
**The permission alert for accessing the microphone/photo library will NOT appear unless users attempt to attach a voice note/photo while using Instabug.**
0 commit comments