fixed breaking change for RN 0.48 (#164)

This commit is contained in:
Martin 2017-10-06 00:00:38 +02:00 committed by Pedro Belo
parent 52733cd5cf
commit 5e3aa91884
1 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,10 @@
#if __has_include(<React/RCTBridgeModule.h>)
#import <React/RCTBridgeModule.h>
#elif __has_include("React/RCTBridgeModule.h")
#import "React/RCTBridgeModule.h"
#else
#import "RCTBridgeModule.h"
#endif
@interface ReactNativeConfig : NSObject <RCTBridgeModule>
+ (NSDictionary *)env;