I am making a music timer which will stop music (playing from Spotify, Apple Music, etc.) after an entered time. Is there a way to stop that audio session or pause the audio which is being played from another app from my app?
Since I don't have a local audio player in my app, I cannot just simply stop the player (as you usually would when playing audio from your app).
Any help is appreciated!