-
-
Notifications
You must be signed in to change notification settings - Fork 426
feat(android): material 3 pickers #952
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
feat(android): material 3 pickers #952
Conversation
Android Studio recommended these settings for supporting Kotlin in the project.
4f58cb1
to
22f3d0e
Compare
432884f
to
ac33d0d
Compare
The new Material pickers will utilize these utilities as well.
5db9b03
to
55767b5
Compare
The pickers will allow the user to set a title for the dialog and specify if the initial input mode should be a text input or calendar/clock.
This also adds a utility function to RNDate to get the date in milliseconds.
e8a96a6
to
89dfccb
Compare
If the `design` is "material", then use the Material modules. Otherwise, use the default modules.
The tests were trying to access the native modules. These dummy files will make sure the tests don't try accessing the real implementations that end with `.android.js`.
Since there are multiple "default" options on the screen now, I've specified to tap the first one. I also had to make sure to scroll the screen before tapping the show picker button.
89dfccb
to
2166b18
Compare
thank you! 🎉 |
# [8.3.0](v8.2.0...v8.3.0) (2025-02-04) ### Features * **android:** material 3 pickers ([#952](#952)) ([e81c6a1](e81c6a1))
🎉 This issue has been resolved in version 8.3.0 🎉 If this package helps you, consider sponsoring us! 🚀 |
Can I still refer to this documentation for styling Material 3 pickers? I'm using an Expo managed workflow. |
@g-otn No, we don't currently have a good solution to handle styling with Expo prebuild. I believe the Expo community needs a good, overarching config plugin for editing system-wide colors. |
Summary
Add Material 3 date and time pickers for Android. Material 3 has been out for some time now and these new pickers would provide developers with more modern interfaces for their apps.
Test Plan
What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility
Checklist
README.md
example/App.js
)TODO
I'm not sure how many of these need to be implemented to merge this PR.
firstDayOfWeek
- [ ] Better theming support- [ ] Custom date validations- [ ] Expo plugin support