https://github.com/livekit/client-sdk-react-native-expo-plugin
https://github.com/livekit/client-sdk-react-native-expo-plugin
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/livekit/client-sdk-react-native-expo-plugin
- Owner: livekit
- License: apache-2.0
- Created: 2024-04-25T09:31:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T04:57:50.000Z (about 1 year ago)
- Last Synced: 2025-04-12T05:31:34.788Z (about 1 year ago)
- Language: TypeScript
- Size: 947 KB
- Stars: 17
- Watchers: 13
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Expo Plugin for LiveKit React Native SDK
This plugin handles the setup required for Expo projects to use the [LiveKit React Native SDK](https://github.com/livekit/client-sdk-react-native).
## Installation for managed Expo projects
```sh
npx expo install livekit-client @livekit/react-native @livekit/react-native-expo-plugin @livekit/react-native-webrtc @config-plugins/react-native-webrtc
```
### Configure app.json
After installing this npm package, add the config plugin to the plugins array of your app.json or app.config.js:
```
{
"expo": {
"plugins": ["@livekit/react-native-expo-plugin", "@config-plugins/react-native-webrtc"]
}
}
```
This plugin optionally takes in an [object to customize the configuration](
https://github.com/livekit/client-sdk-react-native-expo-plugin/blob/main/plugin/src/index.ts):
```
{
"expo": {
"plugins": [
[
"@livekit/react-native-expo-plugin",
{
"android": {
"audioType": <"media" or "communication"> (defaults to "communication")
}
}
]
]
}
}
```
## Installation in React Native projects
Config plugins are not supported in React Native projects. Read the [installation guide on the React Native SDK](https://github.com/livekit/client-sdk-react-native?tab=readme-ov-file#installation) to see how to setup in a React Native project.
LiveKit Ecosystem
Real-time SDKsReact Components · JavaScript · iOS/macOS · Android · Flutter · React Native · Rust · Python · Unity (web) · Unity (beta)
Server APIsNode.js · Golang · Ruby · Java/Kotlin · Python · Rust · PHP (community)
Agents FrameworksPython · Playground
ServicesLivekit server · Egress · Ingress · SIP
ResourcesDocs · Example apps · Cloud · Self-hosting · CLI