Open ChromeQ opened 4 months ago
Hello, have you been able to find a solution for this? I am also getting warning in my project.
The solution is to refactor or rewrite the component, or use patch-package to comment it out.
Unfortunately not much will happen without @mmazzarolo, happy to create a PR if you would merge it @mmazzarolo?
Last commit was over 8 months ago so I won't hold my breath for a quick turnaround to this one. I might fork and fix and let you know.
I fixed that problem, check this out https://github.com/mmazzarolo/react-native-modal-datetime-picker/pull/755
I think this is closeable as of 18.x.
Environment
Platforms
Only tested Android
Versions
Description
Updating to the latest expo (v51.0.4) updated react-native to 0.74.1 and now opening my app using this package throws the following warning:
Tracked it down to my component
MemoTimeInput
which renders this package like so:Looking at source code I see the following: https://github.com/mmazzarolo/react-native-modal-datetime-picker/blob/56cc719a5e20cbe6aab7606a50b5e84765e1c391/src/DateTimePickerModal.android.js#L75
Commenting those defaultProps out fixes the issue.