aksonov / react-native-router-flux

The first declarative React Native router
MIT License
8.99k stars 2.11k forks source link

Replace deprecated `Linking.removeEventListener()` #3802

Open sonicdoe opened 3 years ago

sonicdoe commented 3 years ago

In React Native v0.65, Linking.removeEventListener() has been deprecated. react-native-router-flux calls it in: https://github.com/aksonov/react-native-router-flux/blob/b6e8e71aaa5301740724ebbc7bf3dbad5fda0696/src/Router.js#L35

mcatmos commented 2 years ago

@sonicdoe Is there any update on this? Did you forked the repo?

sonicdoe commented 2 years ago

I haven’t forked it. I only have a local patch-package patch, which replaces removeEventListener() with remove() on the event subscription.