Re-sync with internal repository

This commit is contained in:
Héctor Ramos
2019-12-19 13:42:21 -08:00
parent 7428271995
commit be355a24b7
4 changed files with 59 additions and 4 deletions
@@ -209,7 +209,7 @@ public class MainReactPackage extends TurboReactPackage {
public ReactModuleInfoProvider getReactModuleInfoProvider() {
try {
Class<?> reactModuleInfoProviderClass =
Class.forName("com.facebook.react.MainReactPackage$$ReactModuleInfoProvider");
Class.forName("com.facebook.react.shell.MainReactPackage$$ReactModuleInfoProvider");
return (ReactModuleInfoProvider) reactModuleInfoProviderClass.newInstance();
} catch (ClassNotFoundException e) {
// In OSS case, the annotation processor does not run. We fall back on creating this byhand