From aaaee4f86bb0b056753e844a51e97810c5b1c5cc Mon Sep 17 00:00:00 2001 From: Chris Normansell Date: Tue, 14 Mar 2017 12:37:16 +0000 Subject: [PATCH] fix for breaking iOS header change in RN 0.40.0 (#4) * fix for breaking iOS header change in RN 0.40.0 * Update RNVersionNumber.h Backward compatibility change --- ios/RNVersionNumber.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ios/RNVersionNumber.h b/ios/RNVersionNumber.h index 8a64f1c..9a382b6 100644 --- a/ios/RNVersionNumber.h +++ b/ios/RNVersionNumber.h @@ -1,7 +1,10 @@ - +#if __has_include() +#import +#else #import "RCTBridgeModule.h" +#endif @interface RNVersionNumber : NSObject @end - \ No newline at end of file +