datetimepicker
datetimepicker copied to clipboard
DateTimePicker crashes on Expo IOS Snack/Appetize
Bug report
Summary
DateTimePicker does not seem to work on Snack for IOS as of a couple of versions ago. The last working version on Snack was v6.3.5. Starting v6.4.0 and up, it does not seems to work crashing with the error:
View config getter callback for component 'RNDateTimePicker' must be a function (received 'undefined')
Reproducible sample code
Reproduicable snack: https://snack.expo.dev/@youssefhenna/react-native-community-datetimepicker-ios-crash
Steps to reproduce
Run the snack on the IOS appetize
Environment info
Snack on Expo 47
datetimepicker version: 6.5.2
iOS / Android version: appetize
It's probably caused by some change here: https://github.com/react-native-datetimepicker/datetimepicker/pull/657 where how the Native component is imported has changed. Seems to be problematic in Snack.
@vonovak Any plans to look into this issue?