Skip to content
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 missing countdown in RCT_ENUM_CONVERTE #804

Conversation

Nasseratic
Copy link
Collaborator

@Nasseratic Nasseratic commented Aug 21, 2023

Summary

After upgrading react native to 0.72.3 the countdown mode stopped working and was fallback to time mode. My guess is that react native changed how RCT_ENUM_CONVERTER works.
Adding countdown to the enum fixed the issue.

Test Plan

Try passing countdown to mode prop

Before After the fix

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)
  • I have added automated tests, either in JS or e2e tests, as applicable

@vonovak vonovak merged commit c2d9a6e into react-native-datetimepicker:master Aug 23, 2023
3 of 4 checks passed
@vonovak
Copy link
Member

vonovak commented Aug 23, 2023

thank you! 🙂

vonovak pushed a commit that referenced this pull request Aug 23, 2023
## [7.4.2](v7.4.1...v7.4.2) (2023-08-23)

### Bug Fixes

* **ios:** add countdown to UIDatePickerMode converter  ([#804](#804)) ([c2d9a6e](c2d9a6e))
@vonovak
Copy link
Member

vonovak commented Aug 23, 2023

🎉 This issue has been resolved in version 7.4.2 🎉

If this package helps you, consider sponsoring us! 🚀

@vonovak
Copy link
Member

vonovak commented Oct 6, 2023

@Nasseratic I see you've been responding to some issues here, appreciate it! Are you on discord? If you're interested, perhaps we could chat about if / how you can / want to help out with maintaining the library, ask questions and etc? 🙂

@Nasseratic
Copy link
Collaborator Author

@vonovak Yes I am on Discord my username is nasseratic. Yes would love to chat and help with maintaining as much as I can :)

@vonovak
Copy link
Member

vonovak commented Oct 30, 2023

@Nasseratic can you please check your discord? I sent you a friend request a week ago or so :)
my handle there is also vonovak

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants