Closed shinyaK14 closed 3 years ago
I'm trying to find the note but I thought I read that use-sound was for react DOM only and there's a different package for native.
I've just developed a website, and it's working on mobile phone!
It should work on mobile, but there is that restriction that sounds won't play until the page has been interacted with. It's possible that the standards for "interaction" are slightly different between platforms.
Tutorial page's sound is working on Desktop. But it's not working on my iPhone. I cannot hear any sounds on mobile.
Is this a package only for desktop app?
Please correct me if I'm wrong.
https://www.joshwcomeau.com/react/announcing-use-sound-react-hook/