-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pause audio player on incoming calls or other apps play audio | ios and android #2641
Comments
We have the same problem. Any ideas? |
We have the same problem. |
We have the same problem. Observed on Android Pixel 7 API level 34, RNV 6.0.0-beta.6. RN 0.73.6. |
With iOS,
And Info.Plist contains:
audio does not continue when backgrounding the sample basic app while it is playing video.
|
Making a session manager / exposing some abstraction of the iOS category settings may be helpful here. |
@paulrinaldi I think this could help #3850 |
Current behavior
The audio does not pause on incoming calls or other apps play audios
Also
onAudioFocusChanged
does not get calledI tried setting
ignoreSilentSwitch
toignore
andobey
with no luckReproduction steps
Expected behavior
My app to pause the audio that is being played on incoming calls or other apps play an audio such as Instagram.
Platform
Which player are you experiencing the problem on:
The text was updated successfully, but these errors were encountered: