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

[tvOS] Fix tvOS not building because of LongPressGestureHandler #3090

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

latekvo
Copy link
Contributor

@latekvo latekvo commented Sep 5, 2024

Description

When building a React Native app for TvOS, the following error is being thrown:
image

This PR fixes this issue by wrapping numberOfPointersRequired in a platform specific clause to fix the build error.

closes: #3089

Test plan

Try building TvOS before and after this change

@latekvo latekvo requested a review from j-piasecki September 5, 2024 10:53
@latekvo latekvo marked this pull request as ready for review September 5, 2024 10:53
Copy link
Contributor

@m-bert m-bert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Please change handler name in the PR title to LongPressGestureHandler 😅

@latekvo latekvo changed the title [tvOS] Fix tvOS not building because of FlingGestureHandler [tvOS] Fix tvOS not building because of LongPressGestureHandler Sep 13, 2024
@latekvo latekvo changed the title [tvOS] Fix tvOS not building because of LongPressGestureHandler [tvOS] Fix tvOS not building because of LongPressGestureHandler Sep 13, 2024
@latekvo latekvo merged commit f6fcfc0 into main Sep 13, 2024
3 checks passed
@latekvo latekvo deleted the @latekvo/fix-tvos-not-building branch September 13, 2024 08:56
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

Successfully merging this pull request may close these issues.

react-native-tvOS not building
2 participants