Use react-native-webrtc
in a custom Expo Dev Client (not available in Expo Go).
This is a modified react native example based on the two following great tutorials
https://github.com/expo/examples/tree/master/with-webrtc https://github.com/react-native-webrtc/react-native-webrtc
- Clone the code to your desired directory.
- Update your firebase configuration.
- Setup development Environment
- 🍎 Build/Run on iOS
yarn ios
.- WebRTC doesn't work in the iOS Simulator since there is no camera. Run
expo run:ios -d
to select a connected iOS device.
- WebRTC doesn't work in the iOS Simulator since there is no camera. Run
- 🤖 Build/Run on Android
yarn android
.