If I update the @react-native-community/datetimepicker to version >7.0.0, I face a runtime error on Android. Everything is fine with version 6.7.5
Native module RNDatePicker tried to override RNDatePicker Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=true. This error may also be present if the package is present only once in getPackages but is also automatically added later during build time by autolinking. Try removing the existing entry and rebuild.
If I update the
@react-native-community/datetimepicker
to version>7.0.0
, I face a runtime error on Android. Everything is fine with version6.7.5
Native module RNDatePicker tried to override RNDatePicker Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=true. This error may also be present if the package is present only once in getPackages but is also automatically added later during build time by autolinking. Try removing the existing entry and rebuild.