xgfe / react-native-datepicker

react native datePicker component for both Android and IOS, useing DatePikcerAndroid, TimePickerAndroid and DatePickerIOS
MIT License
2.12k stars 726 forks source link

androidMode: not functioning #142

Open itsez opened 7 years ago

itsez commented 7 years ago

<DatePicker mode = 'time' androidMode = 'spinner'

No matter what value i give androidMode it doesn't change from the default wheel selection. Running latest version of react-native@0.45 Same problem when using datetime

OB3RG commented 7 years ago

We are working with getting the android spinner to work aswell but with date instead of time.

It's working on my Oneplus 3T but not on my Samsung Galaxy S7.

Maybe there is some vendor specific stuff going on!?

Working in simulator aswell

Khallil commented 7 years ago

Same here androidMode = 'spinner' don't work with mode = 'time' and mode = 'datetime' I'm using a Xiaomi Redmi 3S - Android 6.0.1

ghost commented 7 years ago

+1. Any fixes?

lucidtheory commented 6 years ago

same

lucidtheory commented 6 years ago

Appears this is a bug with Android 7.0 on google's side, fixed in 7.1

Here is the code to fix but I use expo for react native so it cant be implemented for me: https://gist.github.com/jeffdgr8/6bc5f990bf0c13a7334ce385d482af9f

Google Issue thread: https://issuetracker.google.com/issues/37120178