Skip to content

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

Merged
fabriziocucci merged 2 commits into
0.79-stablefrom
cipolleschi/backport-51838
Jun 16, 2025
Merged

[RN][Codegen] Backports fix: exclusion of selectively disabled libraries from codegen generation#52040
fabriziocucci merged 2 commits into
0.79-stablefrom
cipolleschi/backport-51838

Conversation

@cipolleschi

@cipolleschicipolleschi commented Jun 16, 2025

Copy link
Copy Markdown
Contributor

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-botfacebook-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-stableJune 16, 2025 10:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.p: FacebookPartner: FacebookPartnerPick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@cipolleschi@facebook-github-bot@fabriziocucci@react-native-bot