mirror of https://github.com/tooot-app/app
Merge pull request #491 from de1acr0ix/audio-in-silent-mode-ios
Play audio in silent mode on iOS
This commit is contained in:
commit
d5c65af44c
|
@ -6,6 +6,7 @@ const audio = () => {
|
|||
Audio.setAudioModeAsync({
|
||||
interruptionModeIOS: InterruptionModeIOS.MixWithOthers,
|
||||
interruptionModeAndroid: InterruptionModeAndroid.DuckOthers,
|
||||
playsInSilentModeIOS: true,
|
||||
staysActiveInBackground: false
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue