-
Notifications
You must be signed in to change notification settings - Fork 418
Open
Description
Issue Description
Using new React Native architecture breaks underlying Twilio video module. I am able to run this package for now by disabling the new architecture in my React Native project.
Steps to reproduce
- Spin up a new Expo / React Native project. Expo v52+ and React Native v74+.
- Install
react-native-twilio-video-webrtclib - follow configuration docs for Expo (add/configure
expo-build-properties, run prebuild + development build, OR set up EAS.) - Configure example component from this repo (also get valid token from Twilio)
- Run application
Expected behaviour
Example application should run; more specifically, twilioRef.current.connect({ accessToken: token}) should run without issue.
This should work with the "new architecture" for React Native enabled.
Actual behaviour
(NOBRIDGE) LOG [Error: TWVideoModule.connect(): Error while converting JavaScript argument 2 to Objective C type BOOL. Objective C type BOOL is unsupported.]
Environment
Node.js version: v20.0.0
React Native (version 0.76.7) built with Expo (version ^52.0.37)
Prebuild + development build using Expo App Services
Metadata
Metadata
Assignees
Labels
No labels