blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
https://www.twilio.com/docs/video
MIT License
608 stars 403 forks source link

Warning: Component "CustomTwilioVideoView" contains the string ref "videoView". #751

Open rickyyancormc opened 1 week ago

rickyyancormc commented 1 week ago

Steps to reproduce

  1. Install the dependency
  2. Run the application on android device or emulator

Expected behaviour

Run without warning message

Actual behaviour

You get the following warning message: warning: Component "CustomTwilioVideoView" contains the string ref "videoView". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref

Environment

react-native-twilio-video-webrtc

Version: eact-native-twilio-video-webrtc@npm:3.2.1

Rdevs commented 2 days ago

Facing the same issue. Please fix this.