clipboard
clipboard copied to clipboard
[email protected] WARN `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.
Appeared in react-native 0.65.1
Android development:
WARN new NativeEventEmitter()
was called with a non-null argument without the required addListener
method.
WARN new NativeEventEmitter()
was called with a non-null argument without the required removeListeners
method.
It can be fixed like this https://github.com/invertase/react-native-firebase/pull/5616/files#diff-c887076b0c80d540aed1bfbb472cc8f20516634e8e72d53014c65d690bba4fb1
I'm seeing this too after updating React Native.
I have the same issue with iOS with ``new NativeEventEmitter() requires a non-null argument
.
Should be resolved with https://github.com/react-native-clipboard/clipboard/pull/113
@zongjiang-gh thanks for raising the issue! this should be resolved in the latest version
I've just encountered this issue. I am on RN 0.68.2.
I'm also using RN 0.68.2 and I've found this error after installing this library
Those on 0.68.2, did you manage to fix the issue? Or did upgrading RN fix it?
Experiencing this issue on RN 0.67.4
Should be resolved with #113
This would have only affected the Android version, right? And people are seeing this on iOS and Windows. So this needs a deeper fix. Has anyone attempted the style of fix listed above? If I can get that to work I'll submit a PR, but so far I haven't gotten it yet.
Hi, For whom still confront this issue: I found the way here just simply cd ios and pod install then start your project again Hope this helps!
I believe this is still an issue
I believe this is still an issue
Yes it is, for iOS. There has been a fix made for Android and Windows, but iOS needs a similar fix if anyone wants to make a PR.
error still persists
error still persists
On which platform?
error still persists
On which platform?
Oh sorry, I started ios simulator again. It solved.