App gets killed after a short while when screen is off
After I turn off the screen the app stays active for about a minute and then disconnects, I'm guessing it gets killed by the android sleep system. Going into the app settings and toggling on "allow background activity" fixes the issue. I've seen apps instruct the user to toggle this on during their setup, but other voice chat apps like discord don't seem to require this. Toggling off battery optimisation does not help, only the "allow background activity" toggle.
Device: OnePlus nord 2, stock android 11 based oxygen os