Skip to content

Commit 45b3cff

Browse files
authored
Update README.md
1 parent ee27acb commit 45b3cff

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,20 @@ $ pod install
6161
```
6262
Make sure to replace `{{app_token}}` with your application token. Find it [here](https://instabug.com/app/sdk/).
6363

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:
6773

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."
6976

70-
They are required starting from iOS 10 to 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.**
7178

7279
## More
7380

0 commit comments

Comments
 (0)