We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1eb83ab + 9b8a242 commit 6813b70Copy full SHA for 6813b70
example/ios/static.zip
621 Bytes
ios/RNZipArchive.h
@@ -7,10 +7,10 @@
7
//
8
9
10
-#if __has_include("RCTBridgeModule.h")
11
-#import "RCTBridgeModule.h"
12
-#else
+#if __has_include(<React/RCTBridgeModule.h>)
13
#import <React/RCTBridgeModule.h>
+#else
+#import "RCTBridgeModule.h"
14
#endif
15
#import "SSZipArchive/SSZipArchive.h"
16
ios/RNZipArchive.m
@@ -8,11 +8,11 @@
#import "RNZipArchive.h"
-#if __has_include("RCTBridge.h")
+#if __has_include(<React/RCTEventDispatcher.h>)
+#import <React/RCTEventDispatcher.h>
#import "RCTBridge.h"
#import "RCTEventDispatcher.h"
-#import <React/RCTEventDispatcher.h>
17
18
@implementation RNZipArchive
0 commit comments