You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Started with create-react-app, PWA, the player controls in the lock screen on iOS device appear inconsistently.
It appears sometimes when I go to a native audio app, then back to the PWA's page, the audio changed in and out as expected, and the controls and app name on lock screen appear, but usually not before triggering this process.
Hey all, have my hands tied at the moment and won't be able to triage issues on this package for a while - that being said, due to this and a number of other niche issues on mobile devices , I'll happily accept contributions if either of you have the time and want to contribute!
On the issue, I do not have much experience with the Media Session API which I believe drives these types of features. I do know that it only works with HTML5 audio as opposed to the Web Audio API so setting that option to true is required as @carvalhochris called out
Describe the bug
Started with create-react-app, PWA, the player controls in the lock screen on iOS device appear inconsistently.
It appears sometimes when I go to a native audio app, then back to the PWA's page, the audio changed in and out as expected, and the controls and app name on lock screen appear, but usually not before triggering this process.
html5 is set to true on useGlobalAudioPlayer
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Open PWA, play audio, controls already appear in lock screen.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: