voice icon indicating copy to clipboard operation
voice copied to clipboard

React native issues warning about NativeEventEmitter

Open sainikumar opened this issue 1 year ago • 5 comments

Project gives warning: 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.

sainikumar avatar Sep 14 '23 08:09 sainikumar

Same here, and my app.json contains the needed plugins object. It's worth mentioning that the 'voice' library works, it's just that there are these annoying log messages in the terminal and in the app.

vaknin avatar Sep 14 '23 13:09 vaknin

@sainikumar and @vaknin can you provide screenshots? for what platform these warnings occur?

PRA1995SAG avatar Sep 25 '23 05:09 PRA1995SAG

@sainikumar and @vaknin can you provide screenshots? for what platform these warnings occur?

My OS is Linux. Screenshot of terminal + emulator: image

vaknin avatar Sep 25 '23 12:09 vaknin

[image: image.png]

On Mon, Sep 25, 2023 at 11:18 AM Prathamesh Sagvekar < @.***> wrote:

@sainikumar https://github.com/sainikumar and @vaknin https://github.com/vaknin can you provide screenshots? for what platform these warnings occur?

— Reply to this email directly, view it on GitHub https://github.com/react-native-voice/voice/issues/455#issuecomment-1732961549, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFM5K4AIQPZ2OQBDH7ARO7TX4ELK3ANCNFSM6AAAAAA4XVN4B4 . You are receiving this because you were mentioned.Message ID: @.***>

sainikumar avatar Sep 27 '23 03:09 sainikumar

I have the same warnings on Android only. This occurs on startup of my app, well before the components that consume this library are actually rendered.

angusryer avatar Jan 05 '24 16:01 angusryer