From 5e3aa9188444aa380ce41333c76323f996938980 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 6 Oct 2017 00:00:38 +0200 Subject: [PATCH] fixed breaking change for RN 0.48 (#164) --- ios/ReactNativeConfig/ReactNativeConfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ios/ReactNativeConfig/ReactNativeConfig.h b/ios/ReactNativeConfig/ReactNativeConfig.h index 75b609a..0d86de3 100644 --- a/ios/ReactNativeConfig/ReactNativeConfig.h +++ b/ios/ReactNativeConfig/ReactNativeConfig.h @@ -1,9 +1,10 @@ #if __has_include() #import +#elif __has_include("React/RCTBridgeModule.h") +#import "React/RCTBridgeModule.h" #else #import "RCTBridgeModule.h" #endif - @interface ReactNativeConfig : NSObject + (NSDictionary *)env;