Skip to main content
Enable messaging during calls by integrating the CometChat Chat SDK. Users can send and receive text messages while on a call.
In-call chat requires the CometChat Chat SDK (@cometchat/chat-sdk-react-native) for messaging functionality.

Prerequisites

  1. CometChat Chat SDK integrated
  2. User authenticated with the Chat SDK
  3. Active call session

Update Chat Button Badge

Update the unread message count on the chat button:

Listen for Chat Button Click

Handle when the user clicks the chat button:

Send Messages

Use the Chat SDK to send messages during a call:

Receive Messages

Listen for incoming messages:

Complete Example