Background staysActiveInBackground argument for Audio.setAudioModeAsync(mode)
Open
- Dominant language
- JavaScript
- Stars
- 180
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
The playlist does not keep playing in the background even after changing the Audio Mode.
```
Audio.setAudioModeAsync({
allowsRecordingIOS: false,
staysActiveInBackground: true, <--- Changed this
playsInSilentModeIOS: true,
shouldDuckAndroid: true,
interruptionModeAndroid: InterruptionModeAndroid.DoNotMix,
playThroughEarpieceAndroid: false
});
```
I cloned the project, changed that value and that's all I did.
Is there anything extra that needs to be done in this example to have it work in the background?
Thank you!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.