Audio file stops playing after app placed into background

Hi dear forum.
I have question and problem with Audio.
I use Audio class from JS: new Audio()
Problem: when i hide my app(open for example Google Search) audio is stoped after some second(6 -7 ).
After serf the Ethernet i find artical where was asked:

On Android, due to memory constraints on low-end devices, it’s possible that, if your app launches a new activity, your app will be terminated by the operating system in order to reduce memory consumption.

How can i fix this problem? (When i debug my app, i cant detect bug. Only on realese version).

Link to app-debug.apk


The Capacitor Background Task plugin might be an option here, since the audio is stopping once the app is placed into the background.