diff --git a/react-native/react-native-flipper/ios/FlipperModule.m b/react-native/react-native-flipper/ios/FlipperModule.m index fc69190ea..e56247f00 100644 --- a/react-native/react-native-flipper/ios/FlipperModule.m +++ b/react-native/react-native-flipper/ios/FlipperModule.m @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -#ifdef DEBUG +#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED) #import "FlipperModule.h" #import "FlipperReactNativeJavaScriptPluginManager.h" diff --git a/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.h b/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.h index 73fc6a1c8..d3f3fae28 100644 --- a/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.h +++ b/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.h @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -#if DEBUG +#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED) #import #import @@ -30,4 +30,4 @@ NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END -#endif +#endif // DEBUG || FB_SONARKIT_ENABLED diff --git a/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.m b/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.m index 153a846cb..f46d4e9d9 100644 --- a/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.m +++ b/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPlugin.m @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -#if DEBUG +#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED) #import "FlipperReactNativeJavaScriptPlugin.h" @@ -64,4 +64,4 @@ @end -#endif +#endif // DEBUG || FB_SONARKIT_ENABLED diff --git a/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.h b/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.h index a5bcd5db8..ed495fc4b 100644 --- a/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.h +++ b/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.h @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -#ifdef DEBUG +#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED) #import @@ -47,4 +47,4 @@ NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END -#endif +#endif // DEBUG || FB_SONARKIT_ENABLED diff --git a/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.m b/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.m index 5aeb56e9d..ee7847373 100644 --- a/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.m +++ b/react-native/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.m @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -#ifdef DEBUG +#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED) #import "FlipperReactNativeJavaScriptPluginManager.h" #import @@ -150,4 +150,4 @@ static uint32_t FlipperResponderKeyGenerator = 0; @end -#endif +#endif // DEBUG || FB_SONARKIT_ENABLED