File tree Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 66// Copyright © 2016 Yonah Forst. All rights reserved.
77//
88
9- #import < React/RCTConvert.h>
9+ #if __has_include("RCTConvert.h")
10+ #import " RCTConvert.h"
11+ #else
12+ #import < React/RCTConvert.h>
13+ #endif
1014
1115static NSString * RNPStatusUndetermined = @" undetermined" ;
1216static NSString * RNPStatusDenied = @" denied" ;
Original file line number Diff line number Diff line change 55// Created by Yonah Forst on 18/02/16.
66// Copyright © 2016 Yonah Forst. All rights reserved.
77//
8- #import < React/RCTBridgeModule.h>
98
10- #import < Foundation/Foundation.h>
9+ #if __has_include("RCTBridgeModule.h")
10+ #import " RCTBridgeModule.h"
11+ #else
12+ #import < React/RCTBridgeModule.h>
13+ #endif
1114
1215@interface ReactNativePermissions : NSObject <RCTBridgeModule>
1316
Original file line number Diff line number Diff line change 1010
1111#import " ReactNativePermissions.h"
1212
13- #import < React/RCTBridge.h>
14- #import < React/RCTConvert.h>
15- #import < React/RCTEventDispatcher.h>
13+ #if __has_include("RCTBridge.h")
14+ #import " RCTBridge.h"
15+ #else
16+ #import < React/RCTBridge.h>
17+ #endif
18+
19+ #if __has_include("RCTConvert.h")
20+ #import " RCTConvert.h"
21+ #else
22+ #import < React/RCTConvert.h>
23+ #endif
24+
25+ #if __has_include("RCTEventDispatcher.h")
26+ #import " RCTEventDispatcher.h"
27+ #else
28+ #import < React/RCTEventDispatcher.h>
29+ #endif
1630
1731#import " RNPLocation.h"
1832#import " RNPBluetooth.h"
You can’t perform that action at this time.
0 commit comments