-
-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Fabric support #657
Add Fabric support #657
Conversation
3fa7ae3
to
e41783f
Compare
5b397d6
to
e0cccc9
Compare
@@ -109,19 +116,16 @@ export default function Picker({ | |||
return null; | |||
} | |||
|
|||
const dates: DatePickerOptions = {value, maximumDate, minimumDate}; | |||
toMilliseconds(dates, 'value', 'minimumDate', 'maximumDate'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's difficult to cast this since we are changing the value in place.
A better alternative is to have a dateToMilliseconds
helper fn that returns a ?number
e0cccc9
to
fc1f6ad
Compare
839fc02
to
a37bb91
Compare
@alfonsocj can you pls rebase on master, there have been some new changes, thank you! 🙂 |
a37bb91
to
081cf8f
Compare
now it doesn't show the native element because the height and width are not being calculated 😅 |
2fd7c95
to
6ea008a
Compare
8324155
to
000aad6
Compare
1518405
to
841dab1
Compare
841dab1
to
8909520
Compare
a0691e4
to
963ea83
Compare
@vonovak I think the PR is ready 🙏. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not run the code yet (will do later to test it out) but I have some comments:
Thank you for the hard work! :)
example/ios/date-time-picker-example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Outdated
Show resolved
Hide resolved
example/ios/date-time-picker-example.xcworkspace/contents.xcworkspacedata
Show resolved
Hide resolved
2e07308
to
fbd4036
Compare
Thanks for taking a look. I solved all the issues you mentioned 🤞 |
# [6.4.0](v6.3.5...v6.4.0) (2022-09-27) ### Features * **ios:** add Fabric support ([#657](#657)) ([8df590b](8df590b))
🎉 This issue has been resolved in version 6.4.0 🎉 If this package helps you, consider sponsoring us! 🚀 |
Has anyone faced this issue in running build after doing RCT_NEW_ARCH_ENABLED=1 npx pod-install? |
Summary
Adding Fabric support for iOS.
Android is already compatible with Fabric as it doesn't use a native UI component.
Test Plan
If you want to go back to the old renderer (Paper),
remove
ios/build
, runpod-install
without theRCT_NEW_ARCH_ENABLED=1
and build againWhat's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility
Checklist
README.md
example/App.js
)