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

DateTimePicker crashes on Expo IOS Snack/Appetize #750

Open
YoussefHenna opened this issue Apr 5, 2023 · 2 comments
Open

DateTimePicker crashes on Expo IOS Snack/Appetize #750

YoussefHenna opened this issue Apr 5, 2023 · 2 comments

Comments

@YoussefHenna
Copy link

Bug report

Summary

DateTimePicker does not seem to work on Snack for IOS as of a couple of versions ago. The last working version on Snack was v6.3.5. Starting v6.4.0 and up, it does not seems to work crashing with the error:
View config getter callback for component 'RNDateTimePicker' must be a function (received 'undefined')

Reproducible sample code

Reproduicable snack: https://snack.expo.dev/@youssefhenna/react-native-community-datetimepicker-ios-crash

Steps to reproduce

Run the snack on the IOS appetize

Environment info

Snack on Expo 47

datetimepicker version: 6.5.2

iOS / Android version: appetize

YoussefHenna added a commit to draftbit/react-native-jigsaw that referenced this issue May 10, 2023
YoussefHenna added a commit to draftbit/react-native-jigsaw that referenced this issue May 10, 2023
* Upgraded packages to expo 48 versions

* v48.0.0

* ci on 47 branch instead of 46

* yarn.lock

* Upgrade rn + remove webpack config resolution

* Cast aspect ratio to number

* Remove fonts from examples to get rid of warnings

* Remove webpack alias for react-native

* Move deprecated components into deprecated folder + minor cleanup

* Delete rn maps patch

* Added deprecated comments

* Fixed linting

* Downgrade date time picker due to
react-native-datetimepicker/datetimepicker#750 not fixed yet

* Made versions exact
YoussefHenna added a commit to draftbit/react-native-jigsaw that referenced this issue May 10, 2023
* Upgraded packages to expo 48 versions

* v48.0.0

* ci on 47 branch instead of 46

* yarn.lock

* Upgrade rn + remove webpack config resolution

* Cast aspect ratio to number

* Remove fonts from examples to get rid of warnings

* Remove webpack alias for react-native

* Move deprecated components into deprecated folder + minor cleanup

* Delete rn maps patch

* Added deprecated comments

* Fixed linting

* Downgrade date time picker due to
react-native-datetimepicker/datetimepicker#750 not fixed yet

* v47.3.2
YoussefHenna added a commit to draftbit/react-native-jigsaw that referenced this issue May 11, 2023
* Updated MapView to use @teovilla/react-native-web-maps

* Updated MapMarker and MapCallout to use @teovilla/react-native-web-maps

* Deprecate web-maps package

* Map default provider as google when on web

* Override react-native UIManager.getViewManagerConfig to fix issue on snack

* Revert "Override react-native UIManager.getViewManagerConfig to fix issue on snack"

This reverts commit 347ba26.

* Updated comment on why imports are done that way

* Expo 48 (#679)

* Upgraded packages to expo 48 versions

* v48.0.0

* ci on 47 branch instead of 46

* yarn.lock

* Upgrade rn + remove webpack config resolution

* Cast aspect ratio to number

* Remove fonts from examples to get rid of warnings

* Remove webpack alias for react-native

* Move deprecated components into deprecated folder + minor cleanup

* Delete rn maps patch

* Added deprecated comments

* Fixed linting

* Downgrade date time picker due to
react-native-datetimepicker/datetimepicker#750 not fixed yet

* Made versions exact

* yarn.lock

* Updated @teovilla/react-native-web-maps version

* Updates to accomdate latest of @teovilla/react-native-web-maps

* Moved web-maps to deprecated folder

* yarn.lock

* Updated imports and types of @teovilla/react-native-web-maps

* Export callout directly

* Updated export of callout

* Use 'initialCamera' prop instead of 'camera'

* Added @teovilla/react-native-web-maps package

* v47.3.3
@YoussefHenna
Copy link
Author

YoussefHenna commented May 17, 2023

It's probably caused by some change here: #657 where how the Native component is imported has changed. Seems to be problematic in Snack.

@YoussefHenna YoussefHenna changed the title DateTimePicker crashes on IOS Snack/Appetize DateTimePicker crashes on Expo IOS Snack/Appetize May 17, 2023
@YoussefHenna
Copy link
Author

@vonovak Any plans to look into this issue?

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