Integration
First, make sure that you’ve correctly integrated the UI Kit library into your project. If you haven’t done this yet or are facing difficulties, refer to our Getting Started guide. This guide will walk you through a step-by-step process of integrating our UI Kit into your React Native project. Once you’ve successfully integrated the UI Kit, the next step is to add the CometChat Calls SDK to your project. This is necessary to enable the calling features in the UI Kit. Here’s how you do it:- Bash
- iOS
- Android

Add necessary permissions
Android:
Go to AndroidManifest.xml located in the react-native/app/src/main of your React Native project and add the following permissions:- AndroidManifest.xml
iOS:
Open Info.plist located in the ios/{appname} of your React Native project and add the following entries:- info.plist
Setup minimum Android and iOS versions
For Android go to app-level build.gradle and change minSdkVersion to 24 and the targetSdkVersion and compileSdkVersion to 33.- Gradle
- Podfile
Add the Call Listeners
Apart from Call Buttons, the Calls UI Kit also provides fully functional UI components for Incoming, Outgoing and Ongoing Calls. Wherever you wish to receive the call events in, you need to register the CallListener listener using the addCallListener() method. onIncomingCallReceived() event will receive when you receive a call.- Bash
Features
Incoming Call
The Incoming Call component 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 component 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.- iOS
- Android

Outgoing Call
The Outgoing Call component 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 component displays an outgoing call screen, showcasing information about the recipient and the call status. Importantly, the Outgoing Call component 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.- iOS
- Android

Ongoing Call
The OngoingCall component is the user interface that displays during an ongoing call. For an audio call, this screen displays the participant’s name, call duration, and buttons to mute the audio, enable or disable video, switch the camera, and end the call. For a video call, the Call Screen might additionally display the video footage from both the user’s camera and the recipient’s camera.- iOS
- Android

Call Logs
Call Logs component 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.- iOS
- Android
