RNDatePicker" was not found in the UIManager.
See original GitHub issueDescribe the bug A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
To Reproduce Add example code that reproduces the behavior.
export default class App extends Component {
state = { date: new Date() }
render = () =>
<DatePicker
date={this.state.date}
onDateChange={date => this.setState({ date })}
/>
}
Smartphone (please complete the following information):
- OS: [Android or iOS]
- React Native version [e.g. 0.60.0]
- react-native-date-picker version [e.g. 2.5.1]
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
React Native - Invariant Violation "RNDateTimePicker"
Invariant Violation : Invariant Violation: requireNativeComponent: "RNDateTimePicker" was not found in the UIManager. Anyone else experiences ...
Read more >react-native-community/datetimepicker - npm
Allows changing the locale of the component. This affects the displayed text and the date / time formatting. By default, the device's locale...
Read more >null is not an object react native date picker - You.com
... "DatePickerManager" was not found in the UIManager. TypeError: null is not an object (evaluating '_reactNative.NativeModules.RNDatePicker.
Read more >“requireNativeComponent: "BVLinearGradient" was not found ...
Answers related to “requireNativeComponent: "BVLinearGradient" was not found in the UIManager”. Invariant Violation: requireNativeComponent: "RNCWebView" ...
Read more >How to fix"AIRMap" was not found in the UIManager error in ...
iOS : How to fix"AIRMap" was not found in the UIManager error in react native?
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
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
I solved it! In RN 0.60+ need cocopod install; Podfile config it:
pod ‘react-native-date-picker’, :path => ‘…/node_modules/react-native-date-picker’
cd ios && pod install
Is this issue connected to this by any chance?
https://github.com/henninghall/react-native-date-picker#can-i-use-expo