InstallingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jitsi/jitsi-meet/llms.txt
Use this file to discover all available pages before exploring further.
@jitsi/react-native-sdk requires installing the package itself, running the dependency helper script, and configuring native build settings for both iOS and Android. The SDK ships with a large number of peer dependencies — the helper script ensures your project has everything it needs before you touch native code.
Install the Package
Add@jitsi/react-native-sdk to your project using your preferred package manager:
If you encounter peer dependency conflicts, you can use
--force to resolve them. For example: npm i @jitsi/react-native-sdk --force.Run the Dependency Helper
The SDK ships a helper script that inspects your project’s current dependencies and installs any missing required peer dependencies automatically. Run it immediately after installing the package:npm install (or your package manager’s install command) once more if the script reported that any dependency versions were updated.
Configure Metro
Because the SDK uses SVG assets internally, you must update your project’smetro.config.js to handle .svg files via react-native-svg-transformer. Without this change, Metro will fail to bundle SVG imports.
metro.config.js
iOS Setup
Add usage descriptions to Info.plist
Open your project’s
ios/<AppName>/Info.plist and add the following keys. Without these, iOS will crash when the SDK first requests camera or microphone access:ios/<AppName>/Info.plist
Enable Background Modes capability
In Xcode, navigate to your target’s Signing & Capabilities tab, click + Capability, and add Background Modes. Then enable the following three modes:
- Audio, AirPlay and Picture in Picture — keeps audio active when the app is backgrounded
- Voice over IP — maintains VoIP connections in the background
- Background fetch — allows the SDK to perform background updates
Android Setup
Set minimum SDK version
Open
android/build.gradle and ensure minSdkVersion is at least 26 (Android 8.0 Oreo). The SDK uses APIs that are unavailable on older versions:android/build.gradle
Set minimum Gradle plugin version
In the same
android/build.gradle, ensure gradlePluginVersion is 8.4.2 or higher, as shown above.Add required permissions
Add the following permissions to both
android/app/src/debug/AndroidManifest.xml and android/app/src/main/AndroidManifest.xml, outside the <application> tag:AndroidManifest.xml
Configure screen sharing (optional)
If you want to enable screen sharing, additional setup is required in both Java and the manifest.In Then add the foreground service permissions and the service declaration to
MainApplication.java, add:MainApplication.java
android/app/src/main/AndroidManifest.xml:AndroidManifest.xml
