Skip to content

Commit ce7444c

Browse files
committed
fix for rn<0.40
1 parent 48176ab commit ce7444c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ios/RNZipArchive.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
#import "RNZipArchive.h"
1010

11-
#if __has_include("RCTEventDispatcher.h")
11+
#if __has_include("RCTBridge.h")
12+
#import "RCTBridge.h"
1213
#import "RCTEventDispatcher.h"
1314
#else
1415
#import <React/RCTEventDispatcher.h>

0 commit comments

Comments
 (0)