-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The removeListener doesn't work on React Native v0.68 #18
Comments
addListener returns an EventEmitter. So you need to do something like this
|
I've created a patch for this issue. The concept behind is to return an instance of
After you've installed the patch, use it as the following sudo code
|
Will there be a solution for this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to use the removeListener of Nodejs.channel. But it doesn't work because the removeListener was deprecated after v0.65.
Please let me know how to solve this issue.
The text was updated successfully, but these errors were encountered: