react-native-incall-manager icon indicating copy to clipboard operation
react-native-incall-manager copied to clipboard

How to keep call active when app is in background?

Open AlbinCederblad opened this issue 3 years ago • 2 comments

The app loses the audio stream after 1 minute if app is in background.

How do I solve this?

I am only using the audio if that makes any difference.

AlbinCederblad avatar Dec 28 '22 12:12 AlbinCederblad

@AlbinCederblad you may need to use foreground service for android to keep audio stream if app background or phone is locked , you can use react-native-callkeep or react-native-foreground-service

hanios123 avatar Jan 12 '23 11:01 hanios123

You can do this with Notifee's registerForegroundService see docs

vanGalilea avatar May 11 '23 14:05 vanGalilea