UNPKG

@videosdk.live/expo-ios-screen-share

Version:
45 lines (33 loc) 1.03 kB
# @videosdk.live/expo-ios-screen-share Enable iOS screen sharing in your Expo (React Native) app using a native broadcast upload extension powered by ReplayKit. This plugin simplifies the setup process by configuring the required native modules during the Expo prebuild step. ## Installation Install the plugin via npm: ``` npm install @videsdk.live/expo-ios-screen-share ``` ## Usage Add the plugin to your `app.json` file under plugins section as shown below: ``` { "expo": { "plugins": [ [ "@videosdk.live/expo-ios-screen-share", { "appleTeamId": "YOUR_APPLE_TEAM_ID", "extensionName": "YOUR_BROADCAST_EXTENSION_NAME" } ] ] } } ``` ## After installing and configuring the plugin: ``` npx expo prebuild ``` ## What the Plugin Does - Adds a Broadcast Upload Extension target - Configures AppGroup, Entitlements, and Info.plist - Automatically links the extension with your main app target - Reduces manual native code changes during ReplayKit setup