App in background sound disappears

I work on Jitsi Meet, so yeah, I am using that repo. We don’t use callkeep, however, but the same tech that callkeep uses.

I tested again with google play version of jitsi meet (19.0.2) and same problem still exists. I tried two times and the first time worked in the background for 16 minutes. Second time worked 18 minutes.

Thanks for checking! Looks like we have some investigating to do…

I have been trying to solve this problem for more than a month. I am about to go crazy. If you solve the problem, I’d be grateful if you share the solution.

Thanks for everything. Good luck.

1 Like

i wonder about your final solution after this journy

On Android you will need to use a foreground service to keep the app alive. Checkout https://github.com/voximplant/react-native-foreground-service

@saghul Do you need to both globally patch setTimeout / setInterval and a ForegroundService to prevent sound from disappearing on Android? Or is one of them enough?