Skip to content

Commit

Permalink
docs(react-native): fix keep call alive UIBackgroundmodes value in de…
Browse files Browse the repository at this point in the history
…scription (#1066)
  • Loading branch information
khushal87 authored Sep 7, 2023
1 parent 6b22cb8 commit 10e32a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ StreamVideoRN.updateConfig({

## iOS Setup

The way to keep audio alive in the background is to enable the Voice over IP background mode. When you enable this capability, your app's audio playback will continue to play when users lock their iOS device or switch to another app. In Xcode: Open the `Info.plist` file and add `Voice over IP` in `UIBackgroundModes`. By editing this file with a text editor, you should see:
The way to keep audio alive in the background is to enable the `audio` background mode. When you enable this capability, your app's audio playback will continue to play when users lock their iOS device or switch to another app. In Xcode: Open the `Info.plist` file and add `audio` in `UIBackgroundModes`. By editing this file with a text editor, you should see:

```xml
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
```
```

0 comments on commit 10e32a6

Please sign in to comment.