'React play() song api doesn't work on mobile browser

I'm facing an issue with one of my functionality (react app). I receive data from Websocket and I use these data to display a snack bar and play a song (intern notification basically). On web browser, everything works correctly.

But on mobile / tablet browser, song doesn't work at all.

I do not find any documentation about this issue or if there is a way to manually allow songs to get play programmatically on mobile



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source