Closed AchrafBn closed 1 year ago
Hello and thanks for reporting,
did you check in node_modules if the DateTimePickerAndroid.open
method is there? I guessing that the problem is that you're probably using a very old version.
I recommend you upgrade to the latest version (you can use expo prebuild) and make sure that the method you're calling exists in the sources.
Thank you 🙂
I display DateTimePicker using the imperative API , it was working before , and today it throws the following error
Code
And EsLint show error when Importing "DateTimePickerAndroid"
Module '"@react-native-community/datetimepicker"' has no exported member 'DateTimePickerAndroid'. Did you mean to use 'import DateTimePickerAndroid from "@react-native-community/datetimepicker"' instead?ts(2614)
I tried to upgrade to latest version but expo keep showing warning
Expo info
Package.json