diff --git a/BoxContentSDKSampleApp/BoxContentSDKSampleApp/BOXSampleFolderViewController.m b/BoxContentSDKSampleApp/BoxContentSDKSampleApp/BOXSampleFolderViewController.m index 2099fca5e..6b410b1aa 100644 --- a/BoxContentSDKSampleApp/BoxContentSDKSampleApp/BOXSampleFolderViewController.m +++ b/BoxContentSDKSampleApp/BoxContentSDKSampleApp/BOXSampleFolderViewController.m @@ -326,7 +326,6 @@ - (void)upload:(BOOL)background if (background == NO) { self.nonBackgroundUploadRequest = uploadRequest; } - uploadRequest.enableCheckForCorruptionInTransit = YES; [uploadRequest performRequestWithProgress:^(long long totalBytesTransferred, long long totalBytesExpectedToTransfer) { progressBlock(totalBytesTransferred, totalBytesExpectedToTransfer); } completion:^(BOXFile *file, NSError *error) { @@ -374,7 +373,6 @@ - (void)importAction:(id)sender BOXFileUploadRequest *uploadRequest = [weakSelf.client fileUploadRequestToFolderWithID:weakSelf.folderID fromData:imageData fileName:filename]; - uploadRequest.enableCheckForCorruptionInTransit = YES; [uploadRequest performRequestWithProgress:nil completion:^(BOXFile *file, NSError *error) { if (error == nil) { diff --git a/BoxContentSDKSampleApp/shareExtension/ShareViewController.m b/BoxContentSDKSampleApp/shareExtension/ShareViewController.m index fa2cb3211..d7e332d1a 100644 --- a/BoxContentSDKSampleApp/shareExtension/ShareViewController.m +++ b/BoxContentSDKSampleApp/shareExtension/ShareViewController.m @@ -53,7 +53,6 @@ - (void)upload:(NSURL *)url NSString *associateId = [BOXSampleAppSessionManager generateRandomStringWithLength:32]; BOXFileUploadRequest *uploadRequest = [self.client fileUploadRequestInBackgroundToFolderWithID:BOXAPIFolderIDRoot fromLocalFilePath:path uploadMultipartCopyFilePath:tempPath associateId:associateId]; - uploadRequest.enableCheckForCorruptionInTransit = YES; [uploadRequest performRequestWithProgress:^(long long totalBytesTransferred, long long totalBytesExpectedToTransfer) { BOXLog(@"totalBytesTransferred, totalBytesExpectedToTransfer: %lld, %lld", totalBytesTransferred, totalBytesExpectedToTransfer);