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 fec4e16 + ce7444c commit 0da54a8Copy full SHA for 0da54a8
ios/RNZipArchive.h
@@ -6,7 +6,12 @@
6
// Copyright (c) 2015 Perry Poon. All rights reserved.
7
//
8
9
+
10
+#if __has_include("RCTBridgeModule.h")
11
+#import "RCTBridgeModule.h"
12
+#else
13
#import <React/RCTBridgeModule.h>
14
+#endif
15
#import "SSZipArchive/SSZipArchive.h"
16
17
@interface RNZipArchive : NSObject<RCTBridgeModule, SSZipArchiveDelegate>
ios/RNZipArchive.m
@@ -8,8 +8,12 @@
#import "RNZipArchive.h"
-#import <React/RCTBridge.h>
+#if __has_include("RCTBridge.h")
+#import "RCTBridge.h"
+#import "RCTEventDispatcher.h"
#import <React/RCTEventDispatcher.h>
18
@implementation RNZipArchive
19
0 commit comments