react-native-picker-select: Invariant Violation: requireNativeComponent "RNCPicker" was not found in the UIManager
RNCPicker was not found in the UIManager
This happened when I moved to latest version 8.0.0
To Reproduce
(I din’t try this in a new project, but here is what I did)
Steps to reproduce the behavior:
- Update
react-native-picker-selectto8.0.0 rm -rf node_modules && yarn cache clean && yarn installcd ios && pod install- run the IOS build
- Launch the open and click on RNPickerSelect component
Expected behavior
To behave like it was in the previous version
Screenshots

Additional details
- Device: iPhone11
- OS: iOS13.6
- react-native-picker-select version: 8.0.0
- react-native version: 0.61.5
Reproduction and/or code sample
<RNPickerSelect
placeholder={{ label: this.props.placeholderText, value: null }}
items={this.props.items}
onValueChange={this.props.onValueChange}
style={{ ...this.pickerSelectStyles() }}
value={this.props.selectedValue}
/>
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 28
- Comments: 55
I solved running:
npm install @react-native-community/pickernpx pod-installremember to stop your debugging mode and start it again.
I had a similar issue with expo 38.0.8. steps to solve :
using:
*only the exact version 1.6.0 is supported in Expo and a patch release since that is incompatible with current Expo
The native component
RNCPickerhas been removed out of thereact-nativecore. Installing the peer dependency@react-native-community/pickerdoes the trickSame here on an ejected app, It seams the pod of
@react-native-community/pickeris missing. I was obliged to add it to my project’s dependencies and runningnpx pod-installto solve the issue.[Fri Aug 07 2020 11:46:28.571] ERROR Invariant Violation: requireNativeComponent: “RNCAndroidDialogPicker” was not found in the UIManager.
This error is located at: in RNCAndroidDialogPicker (at PickerAndroid.android.js:112) in PickerAndroid (at Picker.js:148) in Picker (at src/index.js:509) in RCTView (at View.js:34) in View (at src/index.js:508) in RNPickerSelect (at App.tsx:95) in RCTView (at View.js:34) in View (at App.tsx:93) in App (at renderApplication.js:45) in RCTView (at View.js:34) in View (at AppContainer.js:106) in RCTView (at View.js:34) in View (at AppContainer.js:132) in AppContainer (at renderApplication.js:39)
Facing above issue for android as well This is happening on React native CLI for below simplest code :
Please help on this issue. RN version - 0.63
Adding
"@react-native-community/picker": "1.6.0",topackage.jsonand reinstalling npm dependencies and pods fixed this for me.I think the issue is that React Native’s autolinking does not work for transitive dependencies (see https://github.com/react-native-community/cli/issues/870). So the solution is to add
@react-native-community/pickeras a direct dependency inpackage.jsonand in this case autolinking works for it.Thanks @nikdo for pointing out that
@react-native-community/pickeris deprecated. I installed the replacement version and it works with this one, too.npm install @react-native-picker/picker --saveAfter that I have to install pods and make a new build in XCode.This combination worked for me. But only after I restarted Simulator.
I’m missing information about this peer dependency in README. Also, it was not clear whether I should go with now deprecated
@react-native-community/pickeror the@react-native-picker/pickerreplacement. I’m still not sure if this is by the book, or just random thing that works.Peer dependency didn’t help me. Installed
@react-native-community/pickeras a project dependency.pushed out 8.0.1 and updated the readme
install both
"@react-native-community/picker": "^1.8.1""react-native-picker-select": "^8.0.4"will do the tricks
Issue Resolved. Adding https://github.com/react-native-community/react-native-picker This will add the required thing after pod install.
looks like locking to 1.6.0 may be the solution: https://github.com/react-native-community/react-native-picker/issues/45
https://github.com/lawnstarter/react-native-picker-select/tree/801 ^ please try this branch if you’re having this issue and report back. thank you.
The root of this issue is in @react-native-community/picker dependency which has this issue on Ver > 1.6.0, installing @react-native-community/picker@1.6.0 solved the issue for me.
Resolved issue by installing 7.0.0 version. Above problem persist in 8.0.0 which is latest version.
Following solution worked for me, after npm install @react-native-community/picker kill metro server then restart then do react-native run-android
https://github.com/lawnstarter/react-native-picker-select/tree/801 returns 404
I ran into this issue too, and using the branch works for me on Expo 38 (
"expo": "^38.0.10",).expo install lawnstarter/react-native-picker-select#801🥳
May have spoken too soon - it works on Android but getting the following errors on iOS when I click to open the picker:
I’ve rolled back to 7.0.0 for the time being
Thank you, this solved my issue for me.
I solved this problem with react-native-picker-select@7.0.0 and in placeholder attribute I added a string and this causes a error crashing the app, so I fix this putting correct object explained in README.md.
@Maoravitan did you try https://github.com/lawnstarter/react-native-picker-select/tree/801?
Installed react-native-picker-select: 7.0.0 and the problem was solved.
Going back to ver 7.0.0 solve it to me.
I noticed, this is an issue with
@react-native-community/react-native-pickerand there also an open issue already.It din’t help much, as I am already clearing node modules, updating pods and this was happening on a non expo project.