diff --git a/ios/MSREventBridge.h b/ios/MSREventBridge.h index b717a72..f0309e4 100644 --- a/ios/MSREventBridge.h +++ b/ios/MSREventBridge.h @@ -5,13 +5,12 @@ // Copyright © 2017 mischneider. All rights reserved. // - -#if __has_include("RCTBridgeModule.h") -#import "RCTBridgeModule.h" -#import "RCTEventEmitter.h" -#else +#if __has_include() #import #import +#else // Compatibility for RN version < 0.40 +#import "RCTBridgeModule.h" +#import "RCTEventEmitter.h" #endif NS_ASSUME_NONNULL_BEGIN