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({
|
Audio.setAudioModeAsync({
|
||||||
interruptionModeIOS: InterruptionModeIOS.MixWithOthers,
|
interruptionModeIOS: InterruptionModeIOS.MixWithOthers,
|
||||||
interruptionModeAndroid: InterruptionModeAndroid.DuckOthers,
|
interruptionModeAndroid: InterruptionModeAndroid.DuckOthers,
|
||||||
|
playsInSilentModeIOS: true,
|
||||||
staysActiveInBackground: false
|
staysActiveInBackground: false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue