From d72eaf3c023b359b0c1e6bdf877761ce94099136 Mon Sep 17 00:00:00 2001 From: Rustem Mussabekov Date: Mon, 4 Sep 2017 16:57:41 +0300 Subject: [PATCH] [React Native 0.48]: Error: Redefinition of RCTMethodInfo Build failed without this fix --- ios/OAuthManager/OAuthManager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/OAuthManager/OAuthManager.h b/ios/OAuthManager/OAuthManager.h index 4f653e4..4fcf44b 100644 --- a/ios/OAuthManager/OAuthManager.h +++ b/ios/OAuthManager/OAuthManager.h @@ -7,10 +7,10 @@ #import -#if __has_include("RCTBridgeModule.h") - #import "RCTBridgeModule.h" -#else +#if __has_include() #import +#else + #import "RCTBridgeModule.h" #endif #if __has_include("RCTLinkingManager.h")