Skip to main content

Overview

This guide walks you through adding voice and video calling capabilities to your React Native application using the CometChat UI Kit.
Make sure you’ve completed the Getting Started guide before proceeding.

Add the Calls SDK

Install the CometChat Calls SDK:
Once added, the React Native UI Kit will automatically detect it and enable calling features. The CallButtons component will appear within the MessageHeader component.

Add Permissions

Android

Add the following permissions to android/app/src/main/AndroidManifest.xml:

iOS

Add the following entries to ios/{appname}/Info.plist:

Set Up Minimum Versions

Android

In android/app/build.gradle, set the SDK versions:

iOS

In Xcode, set IPHONEOS_DEPLOYMENT_TARGET to 12.0, or add to your Podfile:
Apple Silicon (M1/M2/M3) users: Excluding arm64 from the simulator build prevents the app from running natively on Apple Silicon Macs. If you are developing on an Apple Silicon Mac, consider excluding only i386 instead of arm64 i386 to enable native simulator builds.

Set Up Call Listeners

Register a call listener to receive call events in your component: