Enable Fabric in logbox

Summary:
This diff enables  Fabric in logbox in the facebook app

changelog: [internal] internal

Reviewed By: JoshuaGross

Differential Revision: D28031255

fbshipit-source-id: 8abc301651ad09e4e48c88961bc7f3b91e6c4ae3
This commit is contained in:
David Vacca
2021-04-27 19:45:08 -07:00
committed by Facebook GitHub Bot
parent 3d0cf8dcf8
commit a56c15894a
2 changed files with 4 additions and 2 deletions
@@ -318,9 +318,8 @@ public class ReactInstanceManager {
Activity currentActivity = getCurrentActivity();
if (currentActivity != null) {
ReactRootView rootView = new ReactRootView(currentActivity);
rootView.setIsFabric(ReactFeatureFlags.enableFabricInLogBox);
rootView.startReactApplication(ReactInstanceManager.this, appKey, null);
return rootView;
}
@@ -92,4 +92,7 @@ public class ReactFeatureFlags {
return false;
}
/** Enables Fabric for LogBox */
public static boolean enableFabricInLogBox = false;
}