-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[iOS] Exclude Android HorizontalScrollContentView cxx component code #48138
base: main
Are you sure you want to change the base?
[iOS] Exclude Android HorizontalScrollContentView cxx component code #48138
Conversation
sss.exclude_files = "react/renderer/components/scrollview/tests", | ||
"react/renderer/components/scrollview/platform/android" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way we can invert this to be allowlist for iOS and base instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way we can invert this to be allowlist for iOS and base instead?
Hi , can you explain more? should we share the Android horizontal scroll content view for iOS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, instead of excluding tests
, and android
platform, we only include shared (not in nested in scrollview folder), and iOS specific files (those in platform/ios).
Some React Native forks end up adding additional platforms, so the pattern of excluding specific ones can work in RN repo, but cause issues for those forks (which then end up including code for multiple platforms).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NickGerleman Got it :), I updates the podspec to only include shared files for iOS, because now we don't have iOS specific files. Please review it again.
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary:
Exclude Android HorizontalScrollContentView cxx component code, iOS don't need it. cc @NickGerleman can you help to review? :)
Changelog:
[IOS] [FIXED] - Exclude Android HorizontalScrollContentView cxx component code
Test Plan:
iOS don't include any Android HorizontalScrollContentView code.