xanderdeseyn / react-native-responsive-linechart

A customizable and responsive line or area chart for react-native
https://react-native-responsive-linechart.surge.sh
MIT License
202 stars 46 forks source link

Break with latest react-native-gesture-handler dependency? #146

Open MPDubs opened 2 years ago

MPDubs commented 2 years ago

Getting the error "Invariant Violation: requireNativeComponent: "RNGestureHandlerRootView was not found in the UIManager" when trying to render the <Chart></Chart>.

Invariant Violation: requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager.

This error is located at: in RNGestureHandlerRootView (created by GestureHandlerRootView) in GestureHandlerRootView in RCTView (created by View) in View in Unknown in RCTView (created by View)[...]

This has occurred since the update of react-native-gesture-handler to version 2.3.0. I was able to get rid of this breaking error by downgrading the react-native-gesture-handler dependency to version 2.2.0.

So, at this time, it seems like [react-native-responsive-linechart] does not work correctly with the up-to-date version of react-native-gesture-handler? Is anyone else running into this issue? I could be completely missing something.