Skip to content

Commit 7964d48

Browse files
RSNarafacebook-github-bot
authored andcommitted
Introduce soft exceptions in the bridgeless core
Summary: Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D40824468 fbshipit-source-id: c840610e923c35cc5c36b37e5c580d0296c1e46b
1 parent 91d58cf commit 7964d48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ public class ReactFeatureFlags {
3737
*/
3838
public static boolean enableBridgelessArchitecture = false;
3939

40+
/**
41+
* Does the bridgeless architecture log soft exceptions. Could be useful for tracking down issues.
42+
*/
43+
public static volatile boolean enableBridgelessArchitectureSoftExceptions = false;
44+
4045
/**
4146
* After TurboModules and Fabric are enabled, we need to ensure that the legacy NativeModule isn't
4247
* isn't used. So, turn this flag on to trigger warnings whenever the legacy NativeModule system

0 commit comments

Comments
 (0)