voice
voice copied to clipboard
React native issues warning about NativeEventEmitter
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.
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.
@sainikumar and @vaknin can you provide screenshots? for what platform these warnings occur?
@sainikumar and @vaknin can you provide screenshots? for what platform these warnings occur?
My OS is Linux.
Screenshot of terminal + emulator:
[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: @.***>
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.