From a718c85a2d55da2372278dcd9ae8977fd53197c3 Mon Sep 17 00:00:00 2001 From: SAKAMOTO Kazunori Date: Sat, 23 Sep 2017 11:45:34 +0900 Subject: [PATCH] Fix imports for React Native 0.48.x. --- ios/KontaktBeacons.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ios/KontaktBeacons.h b/ios/KontaktBeacons.h index 39086bac..c1361e60 100644 --- a/ios/KontaktBeacons.h +++ b/ios/KontaktBeacons.h @@ -1,13 +1,13 @@ -#if __has_include("RCTBridgeModule.h") - #import "RCTBridgeModule.h" -#else +#if __has_include() #import +#else + #import "RCTBridgeModule.h" #endif -#if __has_include("RCTEventEmitter.h") - #import "RCTEventEmitter.h" -#else +#if __has_include() #import +#else + #import "RCTEventEmitter.h" #endif