Fix ReactNativeHost to have default UIManagerProvider as null (#41593)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/41593

Fixing fallback to `getJSIModule()` by defaulting `getUIManagerProvider()` correctly to null

Reviewed By: christophpurrer

Differential Revision: D51500901

fbshipit-source-id: 91b692e6c88d736970b652179e14bc524a411d0e
This commit is contained in:
Arushi Kesarwani
2023-11-21 11:27:26 -08:00
committed by Facebook GitHub Bot
parent ac1cdaa716
commit a6964b3629
@@ -132,7 +132,7 @@ public abstract class ReactNativeHost {
}
protected @Nullable UIManagerProvider getUIManagerProvider() {
return reactApplicationContext -> null;
return null;
}
/** Returns whether or not to treat it as normal if Activity is null. */