Skip to main content
FieldValue
Packagescometchat_chat_uikit + cometchat_calls_uikit (add to pubspec.yaml)
Required setupCometChatUIKit.init(uiKitSettings: UIKitSettings) then CometChatUIKit.login(uid) — Calls SDK must also be installed
Call featuresIncoming Call, Outgoing Call, Call Logs, Call Buttons
Key componentsCometChatCallButtonsCall Buttons, CometChatIncomingCallIncoming Call, CometChatOutgoingCallOutgoing Call, CometChatCallLogsCall Logs
Auto-detectionUI Kit automatically detects the Calls SDK and enables call UI components
RequirementsminSdkVersion 24 (Android), iOS 12+
CometChat’s Calls feature is an advanced functionality that allows you to seamlessly integrate one-on-one as well as group audio and video calling capabilities into your application. This document provides a technical overview of these features, as implemented in the Flutter UI Kit.
If you haven’t set up calling yet, follow the Calling Integration guide first.

Features

Incoming Call

The Incoming Call widget of the CometChat UI Kit provides the functionality that lets users receive real-time audio and video calls in the app. When a call is made to a user, the Incoming Call widget triggers and displays a call screen. This call screen typically displays the caller information and provides the user with options to either accept or reject the incoming call.

Outgoing Call

The Outgoing Call widget of the CometChat UI Kit is designed to manage the outgoing call process within your application. When a user initiates an audio or video call to another user or group, this widget displays an outgoing call screen, showcasing information about the recipient and the call status. Importantly, the Outgoing Call widget is smartly designed to transition automatically into the ongoing call screen once the receiver accepts the call. This ensures a smooth flow from initiating the call to engaging in a conversation, without any additional steps required from the user.

Call Logs

Call Logs widget provides you with the records call events such as who called who, the time of the call, and the duration of the call. This information can be fetched from the CometChat server and displayed in a structured format for users to view their past call activities.

Next Steps

Call Buttons

Add audio and video call buttons to your chat interface

Incoming Call

Handle and display incoming call screens

Outgoing Call

Manage outgoing call screens and transitions

Call Logs

Display call history and records