Skip to content

Conversation

@cipolleschi
Copy link
Contributor

@cipolleschi cipolleschi commented Nov 18, 2024

Summary:

We recently inverted the dependency between ReactCodegen and React-RCTAppDelegate, so that now the Codegen depends on the AppDelegate.

Remember that ReactCodegen is generated when the user run pod install, while the RCTAppDelegate exists in React Native, so the new dependency is more correct and enables prebuilds for iOS.

For that reason, we need to make sure that the App passes to React Native the dependency provider before React Native is started.

Changelog:

[iOS][Breaking] - Pass the dependency provider from the App to React Native.

Test Plan:

Tested locally in a nightly.

@cipolleschi cipolleschi requested a review from blakef November 18, 2024 18:05
@blakef blakef merged commit 6d3ccca into main Nov 18, 2024
1 check passed
@blakef blakef deleted the cipolleschi/support-rctappdependency-provider branch November 18, 2024 18:26
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.

3 participants