|
@@ -10,9 +10,23 @@
|
10
|
10
|
|
11
|
11
|
#import "ReactNativePermissions.h"
|
12
|
12
|
|
13
|
|
-#import "RCTBridge.h"
|
14
|
|
-#import "RCTConvert.h"
|
15
|
|
-#import "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
|
16
|
30
|
|
17
|
31
|
#import "RNPLocation.h"
|
18
|
32
|
#import "RNPBluetooth.h"
|