Update RNFSManager.m

removed debug NSLogs
This commit is contained in:
Elad Gil 2017-08-22 11:49:36 +03:00 committed by GitHub
parent f58f726d8e
commit 99ce654c94
1 changed files with 0 additions and 2 deletions

View File

@ -470,7 +470,6 @@ RCT_EXPORT_METHOD(downloadFile:(NSDictionary *)options
[self.downloaders setValue:downloader forKey:[jobId stringValue]];
if (uuid) {
NSLog(@"setting uuid: %@", uuid);
if (!self.uuids) self.uuids = [[NSMutableDictionary alloc] init];
[self.uuids setValue:uuid forKey:[jobId stringValue]];
}
@ -514,7 +513,6 @@ RCT_EXPORT_METHOD(completeHandlerIOS:(nonnull NSNumber *)jobId)
NSString *uuid = [self.uuids objectForKey:[jobId stringValue]];
CompletionHandler completionHandler = [completionHandlers objectForKey:uuid];
if (completionHandler) {
NSLog(@"Calling completion handler on: %@", uuid);
completionHandler();
[completionHandlers removeObjectForKey:uuid];
}