From 815cdf7b96409761d28c0a64d2e2fe7d82243d21 Mon Sep 17 00:00:00 2001 From: Arushi Kesarwani Date: Wed, 22 Nov 2023 08:32:34 -0800 Subject: [PATCH] Fix ReactInstanceManager to initialize the UIManager (#41594) Summary: Adding `initialize()` to FabricUIManager just as was done by JSIModule Reviewed By: philIip Differential Revision: D51456979 --- .../com/facebook/react/fabric/FabricUIManagerProviderImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManagerProviderImpl.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManagerProviderImpl.java index 02bbf705f78209..c930a118b69bd2 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManagerProviderImpl.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManagerProviderImpl.java @@ -86,6 +86,8 @@ public UIManager createUIManager(ReactApplicationContext reactApplicationContext Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE); Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE); + fabricUIManager.initialize(); + return fabricUIManager; } }