Closed Minishlink closed 2 years ago
Hello Louis,
Apologies for not replying earlier.
Thanks for creating this ticket. We'll look into it.
Kind regards,
Felipe
Hello Louis,
Unfortunately, we won't be able to use the new event listener since it would require to use a React-Native version (0.65) not compatible with android API 16.
Regards
Hello,
Ok, I'd keep this open though, because EventEmitter.removeListener
is deprecated and will be removed in a future React Native version.
This is a problem now, removeListener is removed since RN 0.69.0: https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0690
When calling onReady, a warn log is issued:
EventEmitter.removeListener('on_ready_callback', ...): Method has been deprecated. Please instead use remove() on the subscription returned by EventEmitter.addListener.
Not critical but it adds noise during development