Skip to content
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

External sounds are prevented in background [Mobile Firefox, Mobile Safari] #90

Open
kharissa opened this issue Apr 29, 2020 · 0 comments

Comments

@kharissa
Copy link

kharissa commented Apr 29, 2020

(Let me know if I should post this issue in SoundManager2 instead.)

The sound in our app is playing as expected, however users on certain environments (Firefox on Android and Safari on iOS Mobile specifically) have reported their background music (e.g. Spotify) to stop playing in the background when our sound is played. We have already implemented the following in App.js but the problem persists:

function App() {
  window.soundManager.setup({ debugMode: false, ignoreMobileRestrictions: true });
  return (
    // ...
  );
}

Is there anything else that I should be looking at? Is there a different way to implement the above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant