diff --git a/README.md b/README.md index 9244b5a..18784c9 100644 --- a/README.md +++ b/README.md @@ -35,20 +35,21 @@ and add `"Vapi"` to your application/library target, `dependencies`, e.g. like t You will need to update your project's Info.plist to add three new entries with the following keys: - NSMicrophoneUsageDescription +- NSCameraUsageDescription - UIBackgroundModes -For the first two key's values, provide user-facing strings explaining why your app is asking for microphone access. +For the first two key's values, provide user-facing strings explaining why your app is asking for microphone and camera access. UIBackgroundModes is handled slightly differently and will resolve to an array. For its first item, specify the value voip. This ensures that audio will continue uninterrupted when your app is sent to the background. -To add the new entries through Xcode, open the Info.plist and add the following four entries (Camera is optional): +To add the new entries through Xcode, open the Info.plist and add the following four entries: -| Key | Type | Value | -|--------------------------------------|--------|----------------------------------------------| -| Privacy - Camera Usage Description| String "Your app name needs camera access to work -| Privacy - Microphone Usage Description| String | "Your app name needs microphone access to work" | -| Required background modes | Array | 1 item | -| ---> Item 0 | String | "App provides Voice over IP services" | +| Key | Type | Value | +|----------------------------------------|--------|-------------------------------------------------| +| Privacy - Camera Usage Description | String | "Your app name needs camera access to work" | +| Privacy - Microphone Usage Description | String | "Your app name needs microphone access to work" | +| Required background modes | Array | 1 item | +| ---> Item 0 | String | "App provides Voice over IP services" | If you view the raw file contents of Info.plist, it should look like this: