Skip to main content

This page has been deprecated.

We've released a new version of pages with some improvements and smoother experience.

Here is the link of SDK for this page.

Getting Started - React Native iOS SDK

React JS SDK wraps up out JavaScript SDK into usable hooks API. It simplifies the code for React Native SDK.

Install a React Native SDK in iOS

Step 1: Install SDK from Npm or Yarn

The easiest way to get started is by installing the sdk in your app.

npm install ""

Step 2: Install to manage media-routes/sensors/events during a audio/video chat on React Native

$ yarn add ""

Step 3: Install all the dependecies via CocoaPods

IMPORTANT: Make sure you are using CocoaPods 1.10 or higher.

$[sudo] gem install cocoapods

Step 4: Manual linking (if react-native-incall-manager is not linked automatically)

  • Select Your_Xcode_Project/TARGETS/BuildSettings, in Header Search Paths, add "$(SRCROOT)/../node_modules/"

Step 5: Include in the Podfile in your react-native ios directory

  pod 'react-native-webrtc', :path => '../node_modules/'

Step 6: Change platform field of podfile to 12.0 or above it

You have change platform field of podfile to 12.0 or above it, as react-native-webrtc doesn’t support iOS < 12 platform :ios, ‘12.0’

Step 7: Install pods

$ Pod install

Step 8: Declare permissions in Info.plist

<string>Camera permission description</string>
<string>Microphone permission description</string>

Step 9: Register services at index page of project

// Import the library
import { register } from '';
import { AppRegistry } from 'react-native';
import { name as appName } from './app.json';
import App from './src/App.js';

// Register the service
AppRegistry.registerComponent(appName, () => App);

Use hooks API

Our React JS SDK provides two important hooks API:

  • useMeeting : Responsible to handle meeting environment.
  • useParticipant : Responsible to handle Participant

Also, React Provider and Consumer to listen changes in meeting environment.

  • MeetingProvider : Meeting Provider is Context.Provider that allows consuming components to subscribe to meeting changes
  • MeetingConsumer : Meeting Consumer is Context.Consumer that subscribes to meeting changes.

Check out official example of React Native SDK implementation: videosdk-rtc-react-native-sdk-example

Got a Question? Ask us on discord