From cedd915ae3ad90dac2fc975cf3973570c198f398 Mon Sep 17 00:00:00 2001 From: samratshekhar Date: Mon, 13 Nov 2017 20:32:09 +0530 Subject: [PATCH] Fix build for RN 0.48 (#94) https://github.com/yonahforst/react-native-permissions/issues/137 --- RNCalendarEvents.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/RNCalendarEvents.h b/RNCalendarEvents.h index bd9f6ea..d8b3eb1 100644 --- a/RNCalendarEvents.h +++ b/RNCalendarEvents.h @@ -1,4 +1,8 @@ -#import +#if __has_include() + #import +#else + #import "RCTBridgeModule.h" +#endif #import @interface RNCalendarEvents : NSObject