Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TWVideoModule broken in RN Bridgeless mode #763

@jjPlusPlus

Description

@jjPlusPlus

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-webrtc lib
  • 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions