Skip to content

[RN][Codegen] Backports fix: exclusion of selectively disabled libraries from codegen generation #52040

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

Merged
merged 2 commits into from
Jun 16, 2025

Conversation

cipolleschi
Copy link
Contributor

@cipolleschi cipolleschi commented Jun 16, 2025

Summary:

Backport of #51838 to 0.79

Changelog:

[IOS] [FIXED] - Skip codegen for selectively disabled libraries in react-native.config.js

Test Plan:

  1. Install a library that has the componentProvider field set in the codegen config (for example: react-native-safe-area-context and react-native-screens or see reproducer)
  2. Exclude library with react-native.config.js
  3. install pods / run codegen
  4. Check that codegen actually excluded the specified dependencies from: ios/build/generated/ios/RCTThirdPartyComponentsProvider.mm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 16, 2025
@cipolleschi cipolleschi changed the base branch from main to 0.79-stable June 16, 2025 10:28
@cipolleschi cipolleschi marked this pull request as ready for review June 16, 2025 10:30
@fabriziocucci fabriziocucci merged commit 3acfe01 into 0.79-stable Jun 16, 2025
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner Pick Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants