react-native-macos/ReactAndroid
Ramanpreet Nara 11570e71a2 Deprecate LazyReactPackage.getReactModuleInfoProviderViaReflection
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
2023-02-14 14:31:52 -08:00
..
cmake-utils Fix variable expansion in ReactNative-application.cmake (#35306) 2022-11-12 09:11:46 -08:00
external-artifacts Publish both Hermes Debug and Release inside `react-native-artifacts` 2022-10-19 09:53:49 -07:00
hermes-engine Use namespace for ReactAndroid and hermes-engine 2023-02-13 05:24:00 -08:00
libs Upgrade Android support library to version 28 in RN 2019-01-22 10:44:53 -08:00
src Deprecate LazyReactPackage.getReactModuleInfoProviderViaReflection 2023-02-14 14:31:52 -08:00
.npmignore Do not publish Android tests inside the NPM package 2022-05-23 12:28:33 -07:00
DevExperience.md Fix Dead links to documents in the comments (#32619) 2021-11-22 03:31:10 -08:00
README.md Update CONTRIBUTING.md, replace wiki links (#34035) 2022-06-21 19:30:23 -07:00
build.gradle Use namespace for ReactAndroid and hermes-engine 2023-02-13 05:24:00 -08:00
gradle.properties Do not use a mixture of plugins{} and buildscript{} 2023-02-10 10:04:55 -08:00
proguard-rules.pro Replace "facebook.proguard.annotations" with "facebook.yoga.annotations" (#35841) 2023-01-16 11:25:59 -08:00
publish.gradle Update the template to use RNGP (#35075) 2022-10-25 13:13:14 -07:00

README.md

Building React Native for Android

See the Building from Source guide on the React Native website.

Running tests

When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing guide on the React Native website.