RNDatePicker" was not found in the UIManager.

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

18reactions
wm20111003commented, Sep 1, 2019

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

5reactions
iaforekcommented, Apr 27, 2021

Is this issue connected to this by any chance?

Can I use expo? Unfortunately, expo does not support this date picker at the moment. Upvote this feature request if you would like to have it included.

https://github.com/henninghall/react-native-date-picker#can-i-use-expo

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found