Please provide the following:
- SDK Version: 38
- Platforms(Android/iOS/web/all): iOS 14+
Not sure about posting it here but I’ll try in case the community has already figured it out.
I got a problem with @react-native-community/datetimepicker
It all worked fine until the new iOS version have been released. There’s a new date picker style that is broken on managed workflow under 38th SDK. Essentially, I have a component:
<DateTimePicker
testID="dateTimePicker"
timeZoneOffsetInMinutes={0}
value={currentValue}
mode="date"
is24Hour={true}
display="spinner"
onChange={onChange}
/>
It shows the good old spinner in the emulator which runs 14.2, but after building a standalone app, all the styles are broken, and “inline” is used.
It also is mentioned here: Bug with datetimepicker in ios 14 (local env) · Issue #11126 · expo/expo · GitHub
and here: Different UI on iOS 14 · Issue #285 · react-native-datetimepicker/datetimepicker · GitHub
I tried all the “clear cache” stuff from those topics, but it did not help.
Has anyone any solution for that issue in managed workflow for expo 38? Why could it work differently on Emulator and on a real device running the same iOS version (14.2)?