Closed 027binitjha closed 1 year ago
https://github.com/react-native-datetimepicker/datetimepicker/issues/11 solutions given in this issue not worked for me.
I'm having the same issue.
@VarunBalakrishna You should try version 6.3.4 it's works in my case.
"@react-native-community/datetimepicker":"6.3.4"
Note:-
Remove ^
from version numer
"@react-native-community/datetimepicker":"^6.3.4"
--->>>>>>>> Don't use like this otherwise it will throw same error.
Thanks mate, that worked!
It seems the issue is that 6.3.5 renamed hasActiveCatalystInstance
-> hasActiveReactInstance
and that doesn't work on the react native version I'm using (0.63.5) as hasActiveReactInstance
was only introduced in 0.65.0.
Bug report
Summary
I am facing build error issue with the latest version or version greater than 6.3.5 of react-native-datetimepicker/datetimepicker.
Reproducible sample code
Steps to reproduce
Describe what you expected to happen:
Environment info
npx react-native info
output:datetimepicker version: 6.7.1
iOS / Android version: x.x