[Solved]"RNGestureHandlerRootView" was not found in the UIManager
React Native
Faysal Shuvo
Problem:
You are using react-native to create a mobile application. And you are getting this error:
Invariant Violation:
requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager.
So in this article, we are going to learn how to solve this problem.
Solution:
The solution is to install the react-native-gesture-handler and use this in your app.
expo install react-native-gesture-handler
and now import it to the root of the project.
import 'react-native-gesture-handler';
I hope this solves your problem. If you have any problems please comment below.