opentok / opentok-react-native

OpenTok React Native - a library for OpenTok iOS and Android SDKs
https://tokbox.com/
MIT License
210 stars 155 forks source link

new NativeEventEmitter() was called with a non-null argument without the required #592

Closed Playfrog4u closed 2 years ago

Playfrog4u commented 2 years ago

Bug Report

Current behavior

Getting new NativeEventEmitter() was called with a non-null argument without the required addListener method and new NativeEventEmitter() was called with a non-null argument without the required removeListeners method yellow box warnings only on android. iOS does not present this issue

Steps to reproduce

Using the opentok-react-native-samples, Android gets 2 yellow box warnings. Bug is not present in iOS "react": "17.0.2", "react-native": "0.65.1"

Example Project

opentok-react-native-samples/BasicVideoChat

Relevant logs and/or screenshots

Screenshot_20220513-232909 Screenshot_20220513-232905

TalhaAhsan commented 2 years ago

Can you verify if this is still causing an issue for you after the change by @enricop89 ? You can reopen the issue if this does not solve it for you.