You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Since Bridgeless by default `RN$Bridgeless` global property is injected
before any library code is executed. We don't support "Bridgeful" mode
anymore so we can depend on this variable to detect the architecture.
## Test plan
See that `console.log(globalThis.RN$Bridgeless);` yields `true` when
added in top-level scope of any file.
@@ -73,7 +74,7 @@ class NativeReanimatedModule implements IReanimatedModule {
73
74
See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#native-part-of-reanimated-doesnt-seem-to-be-initialized for more details.`
74
75
);
75
76
}
76
-
if(!isFabric()&&!IS_WEB){
77
+
if(!IS_FABRIC&&!IS_WEB){
77
78
thrownewReanimatedError(
78
79
'Reanimated 4 supports only the React Native New Architecture and web.'
79
80
);
@@ -130,7 +131,7 @@ See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooti
0 commit comments