Datetimepicker: Warning: DatePickerAndroid has been merged with DatePickerIOS and will be removed

Created on 21 Oct 2019  路  3Comments  路  Source: react-native-datetimepicker/datetimepicker

Warning: 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'. See https://github.com/react-native-community/react-native-datetimepicker

All 3 comments

same with me, have you found a solution?

just read documentation how to migrate from old component to new way
https://github.com/react-native-community/react-native-datetimepicker#migration-from-the-older-components

This is a warning coming from react native itself. If you migrate over to this module and don't import date picker from react native, it will go away.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pro-nasa picture pro-nasa  路  4Comments

sorinsi picture sorinsi  路  5Comments

StarryFire picture StarryFire  路  3Comments

DylanVerstraete picture DylanVerstraete  路  4Comments

Kamalnrf picture Kamalnrf  路  3Comments