does livekit sdk has support for expo 54??
# ask-ai
e
does livekit sdk has support for expo 54??
t
Thanks for reaching out, Shubhankar. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to let you know that the LiveKit SDK does support Expo, including version 54! To get it working smoothly, you'll want to use development builds with
expo-dev-client
, since the Expo Go app isn't compatible due to the native code needed for WebRTC functionality. Here’s a simple way to integrate LiveKit into your Expo 54 project: 1. First, install the LiveKit React Native SDK along with its dependencies using Expo's package manager:
Copy code
npx expo install livekit-client @livekit/react-native @livekit/react-native-expo-plugin @livekit/react-native-webrtc @config-plugins/react-native-webrtc
1. Next, update your
app.json
file to include the necessary Expo config plugins:
Copy code
{
  "expo": {
    "plugins": [
      "@livekit/react-native-expo-plugin",
      "@config-plugins/react-native-webrtc"
    ]
  }
}
1. Then, in your
App.js
or
index.js
, make sure to call
registerGlobals()
to set up the WebRTC libraries properly:
Copy code
import { registerGlobals } from '@livekit/react-native';

registerGlobals();
If you’d like a fully configured example to guide you, feel free to check out the React Native Expo Quickstart repository. It’s a great resource to help you get started confidently! Sources: Expo quickstart | LiveKit Docs | expo-module.config.json