Using VideoSDK with Expo
Inorder to use the VideoSDK with Expo, you first need to Expo Eject which will allow you to make the necessary changes to the native modules of the app.
Expo Ejecting to React Native
Install Expo CLI
If you don't have it, run npm install -g expo-cli
to get our command line library.
npm install -g expo-cli
If you haven't used Expo CLI with an Expo account before, the eject command will ask you to create one.
Configuration options in app.json
Ejecting requires the same configuration options as building a standalone app. Follow this instructions before continuing to the next step.
Eject
From your project directory, run expo eject
. This will download the required dependencies and build native projects under the ios
and android
directories.
expo eject
Once these are finished, you should see the android
and ios
directories in your project. You can then complete the iOS and Android setup requried for the VideoSDK.