We use this library internally at Meta and have run into some build issues when upgrading & using it with the new architecture.
The Fabric component spec is required to have "NativeComponent" as a suffix, not prefix.
The file must be named NativeComponent, with a .js or .jsx extension when using Flow, or a .ts, or .tsx extension when using TypeScript. Codegen only looks for files matching this pattern.
Summary
We use this library internally at Meta and have run into some build issues when upgrading & using it with the new architecture.
fabric-native-components.md
https://github.com/react-native-datetimepicker/datetimepicker/blob/master/ios/fabric/cpp/react/renderer/components/RNDateTimePicker/ComponentDescriptors.h
Test Plan
Fabric - iOS
https://github.com/react-native-datetimepicker/datetimepicker/assets/96719/d0d0a975-aaf0-4ac3-9316-31e1be52e2db
Paper - iOS
https://github.com/react-native-datetimepicker/datetimepicker/assets/96719/2bd251dc-356c-438a-9b24-6d1ef706841f
What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Build w/ new arch enabled:
RCT_NEW_ARCH_ENABLED=1 pod install
Compatibility
Checklist
README.md
example/App.js
)