You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate native spec imports to the public React Native API #1070
@react-native-community/datetimepicker@9.1.0 uses private React Native imports in its native component specification. The current upstream specification still contains these imports.
React Native introduced its Strict TypeScript API in 0.80 and enabled it by default in 0.87. React Native documents public package-root exports for Codegen types and helpers as the supported migration path.
Update the specification's numeric, event-handler, and default-value annotations to CodegenTypes.Double, CodegenTypes.Int32, CodegenTypes.BubblingEventHandler, and CodegenTypes.WithDefault, preserving their existing signatures and defaults.
Please check the remaining native module specifications for private React Native imports as part of this migration, and account for the library's supported React Native versions when deciding whether a minimum-version change is needed.
Scope and compatibility
Library version: 9.1.0
Target React Native version: 0.87.1
Scope: native specification import migration, not a platform-specific picker runtime failure.
This particular component specification is Flow source. This report does not claim that a normal TypeScript consumer necessarily typechecks this .js file or fails merely by importing the library; it requests migration away from the private paths to the documented public API.
This report is based on source inspection. No standalone reproduction repository is attached.
Activity