[Android] [RN 0.56.0] Invariant Violation: requireNativeComponent: "GestureHandlerRootView" was not found in the UIManager.
See original GitHub issueI’m getting the following error when starting my App on Android (in Debug) with RN 0.56.0:
Is anyone else seeing this error, or has seen it before?
Some additional information
I’m using react-native-navigation and followed the guide to replace my Views with gestureHandlerRootHOC(…)
in Navigation.registerComponent(…)
.
I’m starting a tab-based App (Navigation.startTabBasedApp(…)
), where Profile
is the last tab. If I remove Profile
, the now last tab will be where the error occurs.
I made Profile
render just a single View. If there are nested Views, the Error occurs in the first Component without children.
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (3 by maintainers)
Top Results From Across the Web
"RNGestureHandlerRootView" was not found in the UIManager
Invariant Violation : requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager. This error is located at: in ...
Read more >RNGestureHandlerRootView was not found in the UIManager
Invariant Violation : requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager... as shown in screenshot.
Read more >react-native-safe-area-view | ️ Deprecated - kandi
Couldn't find a 'component' or 'children' prop for the screen 'Home'. This can happen if you passed 'undefined'. Error with react-navigate v5?
Read more >How to fix “RNCSafeAreaProvider” was not found in ... - Medium
npx react-native run-android to build the app again. The “RNCSafeAreaProvider” was not found in the UIManager Error should be gone by now ;)....
Read more >[Android] [RN 0.56.0] Invariant Violation: requireNativeComponent ...
Ask questions[Android] [RN 0.56.0] Invariant Violation: requireNativeComponent: "GestureHandlerRootView" was not found in the UIManager. I'm getting the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just published 1.0.6 that includes this fix. Thanks everyone for reporting and testing the fix!
delete the node modules, run expo install and then expo install react-native-gesture-handler