We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa5761 commit 4205ebcCopy full SHA for 4205ebc
ios/RNFetchBlobNetwork.m
@@ -505,7 +505,7 @@ - (void) URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCom
505
errMsg = [error localizedDescription];
506
}
507
NSDictionary * taskSession = [taskTable objectForKey:taskId];
508
- BOOL isCancelled = [taskSession valueForKey:@"isCancelled"];
+ BOOL isCancelled = [[taskSession valueForKey:@"isCancelled"] boolValue];
509
if(isCancelled) {
510
errMsg = @"task cancelled";
511
0 commit comments