BackgroundMode by default?

I am using an audio HTML5 in the background of my app, but when I minimize the app, the sound continues to play. I’ve seen people asking how to make it continue to play on standby mode, which I assume was not the default behavior.

However, in my case, it looks like that by default, it plays without adding any line of code.

How can my sound not play when the app is minimized?
There must be some setting in ionic to keep playing… :frowning: how do I turn this off?

Please refer:

For audio, you should pause it yourself (web audio or native audio).

1 Like