Re-sync with internal repository

This commit is contained in:
Héctor Ramos committed 2019-12-19 13:42:21 -08:00
1 parent 7428271995
commit be355a24b7
4 files changed
+59 -4

No files matched your search

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