leoasis / leoasis/react-sound

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

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
490
Forks
80
PR merge metrics
No merged PRs in 30d

Description

(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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with App.js and the existing soundManager.setup call, then investigate the reported behavior on Firefox for Android and Safari on iOS. Read the linked SoundManager2 context to determine whether another supported configuration exists. Done means documenting a confirmed implementation path or confirming that the behavior is an environment limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
audio-video-rtc, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.