fix(ios): [new arch] Module provider RNDatePickerManager does not conform to RCTModuleProvider - #965
Conversation
…form to RCTModuleProvider
|
@henninghall Can you look at this ? A release would be really appreciated 🙏 |
RNDatePickerManager doesn't conform to RCTModuleProvider (redbox on launch). Applies upstream PR henninghall/react-native-date-picker#965 via bun patch (getTurboModule: implementation) until a fixed version is published. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
hit this exact crash on RN 0.81 new arch with 5.0.13. i've been ripping out |
|
@henninghall Any chance to get that merged ? 👍 |
|
Confirming this on React Native 0.86.2 (New Architecture, bridgeless) with Why some people can't reproduce it. rm -rf ios/build/generated && cd ios && pod installThis PR's approach looks like the right one. #929 removes the One thing worth checking before this lands. On iOS the JS side never asks the TurboModule registry — case 'ios':
return NativeModules.RNDatePicker
case 'android':
return TurboModuleRegistry.get('RNDatePicker')So after this change the native class satisfies codegen's conformance check, but |
On new arch iOS builds i was getting the following error:
We have to conform to that protocol for which we have to implement
getTurboModule:.This PR adds support for that which effectively fixes this issue