Open khaledwani27 opened 1 year ago
Getting the same problem .
How to reproduce :- install the library in any new version of react native , on running "npx react-native run-android" after loading index.js by metro , it will show the warning.
new NativeEventEmitter()
was called with a non-null argument without the required addListener
method.
is same
Metro error
new NativeEventEmitter()
was called with a non-null argument without the required addListener
method.
any fix for this ? problem recently having this warning also: WARN read failed, socket might closed or timeout, read ret: -1
the bug is when I import anything from the library into my code i keep getting a warning that says a new NativeEventEmitter was created without any addListner or removListner functions something related to the adding and removing listeners of an event
i faced this warning when i ran it on android so i don't know about IOS