Skip to content
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] Pass the RCTAppDependencyProvider to the RCTAppDelegate #83

Merged
merged 1 commit into from
Nov 18, 2024

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.

@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.

2 participants