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

@react-native-community/datetimepicker crashes on IOS #429

Closed
YoussefHenna opened this issue Jun 1, 2023 · 0 comments
Closed

@react-native-community/datetimepicker crashes on IOS #429

YoussefHenna opened this issue Jun 1, 2023 · 0 comments

Comments

@YoussefHenna
Copy link

YoussefHenna commented Jun 1, 2023

Summary

Hey 👋, I'm working with the Draftbit team, and we recently ran into this issue.

The @react-native-community/datetimepicker library does not currently work on IOS with Snack. It crashes with the following red screen:

image

This started to occur as of v6.4.0 of @react-native-community/datetimepicker. I pinpointed the PR that broke it (this one), which adds Fabric support to the library.

I was not able to reproduce the issue when running an app locally, either through Expo and Expo Go or just a bare react-native app. It seems to be a snack-specific issue.

Thanks for taking the time to read this through, let me know if you need any more details.

What platform(s) does this occur on?

iOS

SDK Version

47

Reproducible demo or steps to reproduce from a blank project

This is a simple reproducible example on snack:
https://snack.expo.dev/@youssefhenna/react-native-community-datetimepicker-ios-crash?platform=ios

You can see it will work on Android but crashes on IOS.

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

No branches or pull requests

1 participant