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.
1 parent 80628d4 commit 6290b21Copy full SHA for 6290b21
ios/ReactNativeBlobUtil/ReactNativeBlobUtil.mm
@@ -31,6 +31,7 @@ @implementation ReactNativeBlobUtil
31
32
@synthesize filePathPrefix;
33
@synthesize documentController;
34
+@synthesize bridge;
35
36
- (dispatch_queue_t) methodQueue {
37
if(commonTaskQueue == nil)
@@ -67,7 +68,7 @@ - (id) init {
67
68
[[NSFileManager defaultManager] createDirectoryAtPath:[ReactNativeBlobUtilFS getTempPath] withIntermediateDirectories:YES attributes:nil error:NULL];
69
}
70
dispatch_async(dispatch_get_main_queue(), ^{
- eventDispatcherRef = [ReactNativeBlobUtil getRCTEventDispatcher];
71
+ eventDispatcherRef = bridge.eventDispatcher;
72
[ReactNativeBlobUtilNetwork emitExpiredTasks: eventDispatcherRef];
73
});
74
0 commit comments