In my chat app, when a message is received, I invoke play
.
Everything works as expected. However in the case that there is music playing in the background, such as Spotify or YouTube, then it gets paused. Is there any way to invoke play
“passively”?
I know that it’s possible on mobile (Expo), but how can I achieve this in the background?