Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to keep call active when app is in background? #208

Open
AlbinCederblad opened this issue Dec 28, 2022 · 2 comments
Open

How to keep call active when app is in background? #208

AlbinCederblad opened this issue Dec 28, 2022 · 2 comments

Comments

@AlbinCederblad
Copy link

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.

@hanios123
Copy link

hanios123 commented Jan 12, 2023

@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

@vanGalilea
Copy link

You can do this with Notifee's registerForegroundService see docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants