"RNSSearchBar" was not found in the UIManager (Expo project)
See original GitHub issueDescription
After adding searchBar to options I get the error:
Invariant Violation: requireNativeComponent: "RNSSearchBar" was not found in the UIManager.
Steps To Reproduce
- Create Expo project with react-native-screens@3.2.0
- Add
searchBarconfig to stack screen
Expected behavior
Configuration works fine
Actual behavior
I’m getting error
Package versions
- React: 16.13.1
- Expo: 41.0.1
- React Native Screens: 3.2.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
requireNativeComponent: "RNSScreen" was not found in the ...
Issue : With Expo, Sanity.io app was working on device in dev, but once apk was generated ... "RNSScreen" was not found in...
Read more >requireNativeComponent: "RNCPicker" was not found in the ...
`Violation: requireNativeComponent: "RNCPicker" was not found in the UIManager. This error is located at: in RNCPicker (at PickerIOS.ios.js:107)
Read more >Create a new app - Expo Documentation
Learn how to create a new Expo project and run it on your device. Before creating a new Expo app, you have to...
Read more >react-native-fast-image | Voters - Expo - Canny
Brent Vatne: I am currently working my way through a React Native course that uses expo, and I've been shown that fast image...
Read more >How to fix “RNCSafeAreaProvider” was not found in ... - Medium
3.) 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 >
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

Thanks, worked for me, too 😃
Sadly, one of the disadvantages of Expo managed workflow is that you can’t upgrade native dependencies by hand because they are compiled for a specific SDK. (See this part of Expo docs.) The newest version of
react-native-screenswill be included (hopefully) in the next release of Expo SDK. I believe the current version of our lib in SDK 41 is v3.0.0. So, if you want to try out the newest version ofscreensyou have to do it with a bare workflow. Have a great day!