Skip to content
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

Warning appears: new NativeEventEmitter() was called with a non-null argument without the required removeListeners` method #366

Open
azuxx opened this issue Oct 6, 2021 · 9 comments · May be fixed by #520

Comments

@azuxx
Copy link

azuxx commented Oct 6, 2021

Hello,
after upgrading to RN 0.66 App shows the following:

Screenshot_20211006-154612

So after following the stacktrace I got to this:
Screenshot 2021-10-06 at 15 46 32
which actually brings me to your library:

Screenshot 2021-10-06 at 15 48 39

Many libraries are experiencing the same issue like here:
react-native-netinfo/react-native-netinfo#487

It would be great to be fixed with your next release.

Cheers

@shensven
Copy link

shensven commented Oct 7, 2021

I had a similar problem that made jest failing #367

@geroale
Copy link

geroale commented Mar 9, 2022

Same issue here

@Simoon-F
Copy link

Simoon-F commented Aug 5, 2022

same.

@franiakat
Copy link

I have the same issue.

@GuidoGagliardini
Copy link

same.

@noumantahir
Copy link

Any fix so far, experiencing same issue

@stefaneran
Copy link

stefaneran commented Mar 12, 2023

Since the library hasn't been updated in years, I'm confident the issue is simply that it is out of date, as this stackoverflow post suggests and the only thing you can really do is just hide the message like this:

import { LogBox } from 'react-native';
LogBox.ignoreLogs(['new NativeEventEmitter']);

@phil-hudson
Copy link

+1 was this ever resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants