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.
1 parent 44725b8 commit 58afeefCopy full SHA for 58afeef
packages/react-native/React/Base/RCTBridgeModule.h
@@ -69,7 +69,7 @@ RCT_EXTERN_C_END
69
* will be used as the JS module name. If omitted, the JS module name will
70
* match the Objective-C class name.
71
*/
72
-#ifndef RCT_REMOVE_LEGACY_ARCH
+#ifndef RCT_DISABLE_STATIC_MODULE_REGISTRATION
73
#define RCT_EXPORT_MODULE(js_name) \
74
RCT_EXTERN void RCTRegisterModule(Class); \
75
+(NSString *)moduleName \
@@ -90,7 +90,7 @@ RCT_EXTERN_C_END
90
return @ #js_name; \
91
}
92
93
-#endif // RCT_REMOVE_LEGACY_ARCH
+#endif // RCT_DISABLE_STATIC_MODULE_REGISTRATION
94
95
/**
96
* Same as RCT_EXPORT_MODULE, but uses __attribute__((constructor)) for module
0 commit comments