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 + 50121ca commit 48176abCopy full SHA for 48176ab
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,11 @@
#import "RNZipArchive.h"
-#import <React/RCTBridge.h>
+#if __has_include("RCTEventDispatcher.h")
+#import "RCTEventDispatcher.h"
#import <React/RCTEventDispatcher.h>
@implementation RNZipArchive
18
0 commit comments