How do we keep audio focus when minimizing a packaged android application.

I’m working on an android app for playing generated music, but we want to be able to keep it playing audio when we minimize the app.

Sadly I’ve tried to use application life cycle components to detect the app going into the background and continue playing audio but it seems that something in unreal is actually causing it to stop playing. Looking at android development we need to request audio focus but I haven’t been able to find much on how to do that in unreal engine.

Is there a way to prevent audio stopping when we minimize the app preferably in C++? I was considering making a android plugin but wasnt sure if the audio manager in unreal does its own thing.