'React Native: Continue to play song from other app after my sound finished
I see the following behavior from other apps: I play a Spotify song. I switch to Instagram (Spotify song is still playing in the background). I watch a video on Instagram - the Spotify song stops. If I stop watching the video on Instagram, the Spotify song continues.
With expo-av (Audio.setAudioModeAsync) I see that it's possible to either stop the song in the background or to duck the volume. Is it possible with expo-av to continue the song that was played in the background? How?
Is there any other library that is capable of doing that? How can I tackle this problem?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|