staysActiveInBackground not working

I am trying to listen music (streaming) in background but the streaming stop when I open another app.

  const soundObject = new Audio.Sound();

  async function playAudio() {
    try {
      await soundObject.loadAsync({
        uri: ""
      await soundObject.playAsync();
        staysActiveInBackground: true
      // Your sound is playing!
    } catch (error) {
      // An error occurred!

Hi. It seems a few people are having a this problem:

There’s also an issue for this. If there’s any relevant info missing from the bug report, please add a comment there. Otherwise subscribe to it to for progress notifications.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.