Getting Started - React Native SDK
React Native apps require native configuration on both Android and iOS. The quickest way to get started is:
-
Install the SDK packages
npm install "@videosdk.live/react-native-sdk" "@videosdk.live/react-native-incallmanager"
# or
yarn add "@videosdk.live/react-native-sdk" "@videosdk.live/react-native-incallmanager" -
Configure the native modules
- Android: add the WebRTC module to
settings.gradle, registerWebRTCModulePackageinMainApplication.java, update Gradle properties, and request the required permissions. Full steps are in the Android setup guide. - iOS: run
pod install, enable background modes if required, and update the entitlements/permissions as documented in the iOS setup guide. - Expo: follow the extra configuration in the Expo setup guide to configure the custom development client.
- Android: add the WebRTC module to
-
Initialize the SDK
Register the VideoSDK modules before rendering your app:
index.jsimport { register } from "@videosdk.live/react-native-sdk";
import App from "./src/App";
register(); -
Verify permissions
Ensure camera, microphone, bluetooth, and screen-sharing permissions are requested within the app before joining a meeting.
Refer to the platform-specific guides linked above for detailed code snippets, Proguard changes, and troubleshooting tips.
Got a Question? Ask us on discord