mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
41c2502b36
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47650 ## This Change: This change generates the `RCTAppDependencyProvider` for the apps, so that the amount of changes required by the users is minimal. ## Context React Native has a last temporal dependency on Codegen in the React-RCTAppDelegate pod. The RCTAppDelegate has the responsibility to provide various dependencies to react native, like third party components and various modules. ReactCodegen is generated when the user create the project, while React-RCTAppDelegate eists in React Native itself. This dependency means that we cannot prepare prebuilt for iOS for React Native because when we would have to create prebuilds, we would need the React Codegen, but we can't create a React codegen package that will fit all the apps, because React Codegen can contains App Specific modules and components and apps might have different dependencies. ## Changelog: [iOS][Added] - Introduce the RCTAppDependencyProvider to minimize the changes required y the users Reviewed By: dmytrorykun Differential Revision: D66074456 fbshipit-source-id: 073022e66da53eca6bf948aeda01f17ad85793ff