|
@@ -7,8 +7,6 @@
|
7
|
7
|
//
|
8
|
8
|
|
9
|
9
|
|
10
|
|
-#import "RCTConvert.h"
|
11
|
|
-#import "RCTLog.h"
|
12
|
10
|
#import <Foundation/Foundation.h>
|
13
|
11
|
#import "RCTBridge.h"
|
14
|
12
|
#import "RCTEventDispatcher.h"
|
|
@@ -366,7 +364,7 @@ NSMutableDictionary *fileStreams = nil;
|
366
|
364
|
{
|
367
|
365
|
BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:path];
|
368
|
366
|
if(!exists) {
|
369
|
|
- reject(@"RNFetchBlobFS readFile error", @"file not exists", path);
|
|
367
|
+ reject(@"RNFetchBlobFS readFile error", @"file not exists", nil);
|
370
|
368
|
return;
|
371
|
369
|
}
|
372
|
370
|
fileContent = [NSData dataWithContentsOfFile:path];
|