We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RCTArchConfiguratorProtocol.h
1 parent effa465 commit d3c8245Copy full SHA for d3c8245
2 files changed
.changeset/many-sheep-post.md
@@ -0,0 +1,5 @@
1
+---
2
+"@rnx-kit/react-native-host": patch
3
4
+
5
+Fixed detection of unified feature flags
packages/react-native-host/cocoa/RNXFeatureMacros.h
@@ -52,9 +52,12 @@
52
#define USE_UPDATE_RUNTIME_SHADOW_NODE_REFS_ON_COMMIT 1
53
#endif // __has_include(<React-RCTAppDelegate/RCTJSRuntimeConfiguratorProtocol.h>)
54
55
-#if !__has_include(<React/RCTCxxMethod.h>) // >=0.87
+#if REACT_NATIVE_VERSION >= 87000
56
#define RCT_REMOVE_LEGACY_ARCH 1
57
-#endif // !__has_include(<React/RCTCxxMethod.h>)
+#ifndef USE_UNIFIED_FEATURE_FLAGS
58
+#define USE_UNIFIED_FEATURE_FLAGS 1
59
+#endif
60
+#endif // REACT_NATIVE_VERSION >= 87000
61
62
#endif // USE_FEATURE_FLAGS
63
0 commit comments