TimePickerAndroid has been removed from React Native
See original GitHub issueIssue
The date picker will not show up anymore. In debug mode it gives the error:
DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. It can now be installed and imported from ‘@react-native-community/datetimepicker’ instead of ‘react-native’
Expected Behavior
The date picker shows up
Code
Environment
react-native -v
: 0.62.0node -v
: 12.8.0npm -v
: 6.10.3yarn --version
: 1.17.0-20190429.1820target platform
: Androidoperating system
: Mac
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:21
Top Results From Across the Web
Picker has been removed from React Native. It can now be ...
I have search the entire project which DOES NOT use Pricker at all but when I run npx react-native run-android it throws out...
Read more >DatePickerAndroid - React Native
DatePickerAndroid has been merged with DatePickerIOS and TimePickerAndroid into a single component called DateTimePicker and will be removed ...
Read more >react-native-community/datetimepicker - npm
React Native DateTimePicker. This repository was moved out of the react native community GH organization, in accordance to this proposal.
Read more >react-native-datepicker | Yarn - Package Manager
React Native DatePicker component for both Android and iOS, useing DatePickerAndroid, TimePickerAndroid and DatePickerIOS. react-native, DatePicker ...
Read more >To Pick the Date using Native Calendar - About React
If you have previously installed a global react-native-cli package, please remove it as it may cause unexpected issues: npm uninstall -g react-native-cli ...
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 FreeTop 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
Top GitHub Comments
I have forked and updated to use @react-native-community/datetimepicker for modes: date and time. Not updated for mode datetime. Let me know if it is not working. https://github.com/Rejsal/react-native-datepicker
if you still using this library like me and need “datetime” support i have forked the library . please try this https://github.com/mehrankhandev/react-native-datepicker
Note: you have to install @react-native-community/datetimepicker first