Closed norbertschuler closed 3 years ago
I just found out the crash results from giving the component DateTimePicker
(from react-native-modal-datetime-picker
) a invalid date value as property minimumDate
. So this can be avoided by passing only valid date values. I am closing this issue again.
Description
I tried to run my react-native Android project with the Hermes engine enabled (enableHermes: true), but when I open a date picker (using react-native-modal-datetime-picker latest version 8.9.3 with @react-native-community/datetimepicker latest version 3.0.2), the app crashes while working well without using the Hermes engine. The error was also reported at https://github.com/react-native-community/datetimepicker/issues/276 but I would like to report it here as well as it seems to be an error within the native Facebook code:
React Native version:
Steps To Reproduce
enableHermes: true
at https://github.com/Plant-for-the-Planet-org/treecounter-app/pull/2694/files#r486988512Expected Results
Do not crash.
Snack, code example, screenshot, or link to a repository:
Meanwhile the above mentioned pull request is already merged in the default develop branch of https://github.com/Plant-for-the-Planet-org/treecounter-app - so every build with Hermes engine enabled crashes when using the DatePicker.