Hi,
I’ve integrated the CometChat Android SDK v4 and everything works fine in the foreground. I want to confirm whether CometChat supports handling incoming audio/video calls when the app is in the background or killed state.
To handle incoming audio and video calls when your Android app is in the background or killed state, you’ll need to integrate push notifications, typically using Firebase Cloud Messaging (FCM).
For more details on how to set up push notifications with CometChat, you can refer to our official guide here: CometChat Push Notification Integration
Specifically for handling incoming audio and video calls, you’ll need to implement VoIP-style notifications. We recommend checking out our sample app, which demonstrates how to handle this: CometChat Push Notification Sample App for Android
Let us know if you have any questions; we’re happy to help!
Regards,
Srishu Chintakindi
Sign up for service and maintenance updates
CometChat
Just to clarify, I’ve already enabled push notifications from the CometChat dashboard and completed the necessary configuration — everything is working fine. I also cloned and tested the GitHub sample repository you mentioned: CometChat Push Notification Sample App for Android
In my testing, the behavior in the sample app mirrors what I’m seeing in my own integration:
Foreground State: Incoming calls (audio/video) are handled correctly and work as expected.
Background/Killed State: Only a simple notification like "AUDIO/VIDEO CALL" is received. There’s no full-screen or actionable UI to accept or reject the call — just a regular push notification.
So I just want to confirm — is this the expected behavior in background and killed states with the current CometChat Android SDK setup, or is there something additional we need to implement ?
To enable the full-screen, actionable call UI (with Accept/Reject options) when your app is in the background or killed state using the sample app, please make sure the “Calls” toggle for Android is turned off in the CometChat dashboard. Here’s how you can check and update this setting:
Go to the CometChat Dashboard.
Navigate to Notifications → Settings.
Click on the three dots next to the notification provider you’re using (e.g., Firebase).
Toggle off the “Calls” option under the Android platform.
Also, in the sample app you’re testing, the notification handling logic is located in this file:
Hello Jay,
Thank you for confirming that the issue has been resolved. We will proceed with closing this ticket. Please feel free to reach out if you have any further questions or concerns.** **
**I wanted to let you know that you’ll soon receive an email seeking your feedback. Your experience matters to us, so we would love for you to share your thoughts and rate our service. **
Thank you for your cooperation!
Regards,
Srishu Chintakindi
Sign up for service and maintenance updates
CometChat