Open Deep1210 opened 4 years ago
At the present moment, datetime mode is available only for iOS. That's why it doesn't work on your android device.
/**
@react-native-community/datetimepicker
instead of 'react-native'.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
Issue
In Android datetime mode is not working any solution for this
Expected Behavior
Code
<DatePicker style={{ flex: 1 }} date={this.state.pickDate} mode="datetime" placeholder="Pickup Date" format="YYYY-MM-DD HH:mm" minDate={d1} showIcon={false} confirmBtnText="Confirm" cancelBtnText="Cancel" customStyles={{ dateInput: { marginRight: 10, marginLeft: 10, marginTop: 5, marginBottom: 5, borderColor: 'transparent', borderWidth: 1,
Environment
react-native -v
:node -v
:npm -v
:yarn --version
:target platform
: Android | iOSoperating system
: