Invariant Violation: requireNativeComponent: "RNDateTimePicker" was not found in the UIManager.
this error shows in
"react-native-modal-datetime-picker": "^17.0.0",
and used
"@react-native-community/datetimepicker": "7.2.0",
Does anyone have a solution please give me
change the version because this is not work
A few things you can try to resolve this...
node_modules and then run npm install or yarn depending on which you are using.npm start or yarn start followed by -- --reset-cache0.60.0 use autolinking for Native Modules. If you have an older version you may need to link them manually before running your app.> cd ios
> pod install
> cd ..
> npm start
Ideally I'd recommend updating RN if you have less than 0.60.0 if you're able just because that is a rather old version and >0.60.0 contains a healthy amount of updates/fixes that could make your life easier haha.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With