Open wongk opened 3 months ago
Got the same issue, gonna try to upgrade since there's new releases. I´ll let you know if I find anything!
What I have found is that if you clean up enough things (Pods dir, Podfile.lock, node_modules dir), and then you run pod install
manually from the ios dir, it will start working. It needs to regenerate the workspace. This is not specific to this control. I have seen this several times. It seems to be pervasive with react native on iOS when updating dependencies.
This package depends on @react-native-picker/picker
. You must install it to avoid this error.
Describe the bug
The following error occurs when trying to display the picker on iOS:
ERROR Invariant Violation: requireNativeComponent: "RNCPicker" was not found in the UIManager.
This error is located at: in RNCPicker (at PickerIOS.ios.js:198) in RCTView (at View.js:116) in View (at PickerIOS.ios.js:197) in PickerIOS (at Picker.js:171) in Picker (at src/index.js:474) ...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The picker displays successfully.
Screenshots
n/a
Additional details
Reproduction and/or code sample
n/a