proyecto26 / react-native-inappbrowser

📱InAppBrowser for React Native (Android & iOS) 🤘
https://www.npmjs.com/package/react-native-inappbrowser-reborn
MIT License
1.31k stars 224 forks source link

Deprecated method EventEmitter.removeListener throws warning #305

Closed rafaelgtraverso closed 2 years ago

rafaelgtraverso commented 2 years ago

If the demo apps cannot help and there is no issue for your problem, tell us about it

When running the app in android I receive following warning:

 WARN: EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Is there any code involved?

mr-rick commented 2 years ago

I'm having the same issue with react native 0.66.3

jasperkuperus commented 2 years ago

FYI, seems like this is in progress: https://github.com/proyecto26/react-native-inappbrowser/pull/297