Browse Source

Remove unnecessary code

Ben Hsieh 8 years ago
parent
commit
71ee191547
1 changed files with 0 additions and 15 deletions
  1. 0
    15
      src/ios/RNFetchBlobNetwork.m

+ 0
- 15
src/ios/RNFetchBlobNetwork.m View File

@@ -408,21 +408,6 @@ NSOperationQueue *taskQueue;
408 408
         [task cancel];
409 409
 }
410 410
 
411
-//- (void) application:(UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)())completionHandler {
412
-//
413
-//}
414
-
415
-//- (void) URLSessionDidFinishEventsForBackgroundURLSession:(NSURLSession *)session
416
-//{
417
-//    if(self.dataTaskCompletionHandler != nil)
418
-//    {
419
-//        dataTaskCompletionHandler(self.respData, nil, error);
420
-//    }
421
-//    else if(self.fileTaskCompletionHandler != nil)
422
-//    {
423
-//        fileTaskCompletionHandler(nil, nil, self.error);
424
-//    }
425
-//}
426 411
 
427 412
 - (void) URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable credantial))completionHandler
428 413
 {