blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
MIT License
606 stars 403 forks source link

Twilio in Expo App #726

Open prj786 opened 9 months ago

prj786 commented 9 months ago

Steps to reproduce

  1. i installed this package
  2. followed steps
  3. start app

Expected behaviour

expected app to be started

Actual behaviour

i am getting an error: RNCCustomTwilioVideoView was not found in the UIManager

Environment

react-native-twilio-video-webrtc

Version: "3.2.0"

So basically I am not react-native developer, But at the moment i need to implement twilio-video in my app. We are using expo. can you show me exact steps to follow? It would be perfect if it works fine in Expo Go. I did a lot of things nothing worked as expected.

Thanks in advance

Umar3310 commented 9 months ago

Can't use this library in Expo's Managed workflow Step 1: Install expo-build-properties npx expo install expo-build-properties

Step 2: Add the following in plugins in app.json [ "react-native-twilio-video-webrtc", { "cameraPermission": "Allow $(PRODUCT_NAME) to access your camera", "microphonePermission": "Allow $(PRODUCT_NAME) to access your microphone" } ] [ "expo-build-properties", { "android": { "compileSdkVersion": 33, "targetSdkVersion": 33, "buildToolsVersion": "31.0.0" }, "ios": { "deploymentTarget": "13.0" } } ]

Setp 3: Prebuild your project Follow: Prebuild Docs

Step 4: Configure the project according to the library's instructions

Step 5: Create a development build Follow: Docs