mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: There are two different ways of getting the ReactModuleInfoProvider from LazyReactPackage: 1. static LazyReactPackage.getReactModuleInfoProviderViaReflection(LazyReactPackage) 2. LazyReactPackage.getReactModuleInfoProvider() The first way calls into codegen that only works within Meta's infra. This code-path is *now* dead. Therefore, this diff deprecates the first path, to make LazyReactPackage less confusing. This diff simplifies the implementation to return an empty ReactModuleInfoProvider for the v0.72 cut. In the v0.73 cut, we'll just outright delete this method. Changelog: [Android][Changed] - Deprecate LazyReactPackage.getReactModuleInfoProviderViaReflection() Reviewed By: sshic Differential Revision: D43066800 fbshipit-source-id: 2145c3265ff2bd24e6828b193577ba1f500bce49