Jerald Jayaraj D

Jerald Jayaraj D

  • 1.3k
  • 463
  • 29.5k

React Native Date Picker

Jul 18 2023 7:37 AM

 Hi i am using import DatePicker from 'react-native-datepicker' this date picker but getting This error.it worked few year ago but not working .this issue getting only in andird ios .is working fine

ERROR  Invariant Violation: DatePickerAndroid has been removed from React Native. It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'.  js engine: hermes

while importing from @react-native-community/datetimepicker this now text coming directliy coming popup window.. this somting like below window kindly help me out 


Answers (2)