Bring app to front in React Native when there's an incoming call

Is there a way to bring the app to the foreground when a cometchat call comes in?

I found a way to display the call dialog using react-native-callkeep when the app is in the background, and I tried writing native (Java) code to bring the app to the foreground if the call is answered, but it doesn’t work. Connects the call, but the application does not come to the foreground.


@mayur.bhandari any doc about this?

Hey @Laurence,
We have created a sample app that shows how to integrate connectionSetvice and call kit in react-native to handle calls in the background and killed state. Here are the links to documentation and our sample app.
Sample App-
Hope this is helpful.

Tirath Bhuva

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.