I'm trying to implement a sound on my appliaction when it receives some updates (like whatsapp web) using Audio Context API (currently using howler.js).
But I have a problem when the user didn't interact or refresh the page:
The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page
It works after the user does some gestures, but after refreshing it asks again and doesn't play the audio.
I looked on whatsapp web, and I realized that it's chat sound always works even without interacting and after refreshing the page.
How can I resolve this issue? Is there another way to solve it?
