-
Notifications
You must be signed in to change notification settings - Fork 9
[0.79] Exclude selectively disabled libraries from codegen generation #921
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
Comments
Thank you for opening a new pick-request for React Native. If your pick does not satisfy the criteria below, please close it as it will not be considered. ✅ Which pick requests we accept
❌ Which pick requests we don’t accept
ℹ️ What makes for a good pickIn order for your pick to be considered, please do the following:
|
@react-native-bot merge be8595b18a46635bf679d8e7473f2960c33530fa 0.79-stable |
❌ I failed to process your request with this error:
console output:
|
Picked ✅ |
Target Branch(es)
0.79
Link to commit or PR to be picked
facebook/react-native@be8595b
Description
Selectively disabling autolinking of a native dependency with components registered in the codegen configuration in react-native.config.js causes builds to crash upon launch on iOS. This is because the generated
RCTThirdPartyComponentsProvider.mm
file contains references to the excluded library usingNSClassFromString
causing the returned NSDictionary from+[RCTThirdPartyComponentsProvider thirdPartyFabricComponents]
to be populated with nil values and therefore crashing the app. This has been confirmed in 0.78.2 and 0.79.2 but probably exists in 0.77.x as well.This is a fix for an edge case when user manually disable libraries from autolinking.
The text was updated successfully, but these errors were encountered: