Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@livekit/react-native-expo-plugin

Package Overview
Dependencies
Maintainers
29
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livekit/react-native-expo-plugin

Expo Plugin for LiveKit React Native SDK

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
29
Created
Source

Expo Plugin for LiveKit React Native SDK

This plugin handles the setup required for Expo projects to use the LiveKit React Native SDK.

Installation for managed Expo projects

npx expo install @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:

{
  "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 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

Keywords

react-native

FAQs

Package last updated on 19 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts