Skip to main content
CometChatCallLogs renders a scrollable list of call history with call type indicators (audio/video), call status (incoming/outgoing/missed), timestamps, and pagination support.
The CometChatCallLogs widget is composed of the following base widgets:

Where It Fits

CometChatCallLogs is a list component. It renders call history and emits the selected CallLog via onItemClick. Wire it to a detail screen or use onCallLogIconClicked to initiate a call directly from the log.

Quick Start

Using Navigator:
Embedding as a widget:
Prerequisites: CometChat SDK initialized with CometChatUIKit.init(), a user logged in, and the Calls UIKit dependency added. See Call Features for setup.

Filtering Call Logs

Pass a CallLogRequestBuilder to control what loads:

Filter Recipes

Filter Properties


Actions and Events

Callback Methods

onItemClick

Fires when a call log item is tapped. Primary navigation hook.

onItemLongPress

Fires when a call log item is long-pressed, allowing additional actions.

onBack

Fires when the user presses the back button in the app bar.

onError

Fires on internal errors (network failure, SDK exception).

onLoad

Fires when the list is successfully fetched and loaded.

onEmpty

Fires when the list is empty after loading.

onCallLogIconClicked

Fires when the call icon on a call log item is tapped, typically used to initiate a call back.

Events

The CometChatCallLogs widget does not emit global events.

Functionality

Example — custom back button:
Image Image

Custom View Slots

List Item View

Replace the entire list item row with a custom widget.

Title View

Replace the caller name / title text.

Leading View

Replace the avatar / left section.

Subtitle View

Replace the call status text below the name.

Trailing View

Replace the timestamp / right section.

State Views



Style


Configurations

Outgoing Call

Customize the outgoing call component that appears when a call is initiated from a call log:
Image Image All exposed properties of OutgoingCallConfiguration can be found under Outgoing Call.

Next Steps

Call Log Details Guide

Build a call log details screen

Call Buttons

Add voice and video call buttons

Component Styling

Detailed styling reference

Conversations

Browse recent conversations