xiqi / react-native-live-audio-stream

Get live audio stream data for React Native (works for iOS and Android)
MIT License
71 stars 29 forks source link

NativeEventEmitter warning when using with expo sdk51 #31

Open sonclark opened 1 week ago

sonclark commented 1 week ago

I am currently using the library with Expo SDK51, testing on development build when i run into the warnings whenever I call start or stop.

The warnings are WARNnew NativeEventEmitter()was called with a non-null argument without the requiredaddListenermethod. WARNnew NativeEventEmitter()was called with a non-null argument without the requiredremoveListenersmethod.

I am assuming this is because the library is older now. Anyone faced the same issue and managed to resolve this?

Nesquik commented 1 week ago

This pull request should fix the warnings you mention: https://github.com/xiqi/react-native-live-audio-stream/pull/20/files