Keep unity running when minimized on iOS and Android

I have been looking around for some time now for information regarding allowing a unity app to run after it has been minimized. From what I could gather, this might be doable by writing native plugins that take over when the app gets suspended.

I am making a running app where I need to track a users movement and generate audio feedback based on this movement. I would like to allow this to happen even if the user presses the lock screen button.

Is this possible in Unity? Even if it is, is it worth the trouble or is it simply a better idea to make the whole app natively?

Thanks in advance for your help!

2 Answers

2

maybe this? I have never used it but it may not be what you want because it still pauses

Not at all what I'm looking for but thank you nonetheless.

It is not possible to keep unity running in background on mobile devices