Include microphone permission key in Info.plist (#488)
* Include microphone permission key in Info.plist Mention microphone permission (and what to add to `Info.plist) for iOS 10 and up. * Update README.md
This commit is contained in:
parent
3a20709f64
commit
9e06741e94
10
README.md
10
README.md
|
@ -14,9 +14,15 @@ A camera module for React Native.
|
|||
2. With iOS 10 and higher you need to add the "Privacy - Camera Usage Description" key to the info.plist of your project. This should be found in 'your_project/ios/your_project/Info.plist'. Add the following code:
|
||||
```
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>Your message to user when the camera is accessed for the first time</string>
|
||||
<string>Your message to user when the camera is accesseded for the first time</string>
|
||||
|
||||
<!-- Include this only if you are planning to use the camera roll -->
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string>Your message to user when the photo library is access for the first time</string>
|
||||
<string>Your message to user when the photo library is accessed for the first time</string>
|
||||
|
||||
<!-- Include this only if you are planning to use the microphone for video recording -->
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>Your message to user when the microsphone is accessed for the first time</string>
|
||||
```
|
||||
|
||||
### Mostly automatic install with react-native
|
||||
|
|
Loading…
Reference in New Issue