Browse Source

add configuration.sharedContainerIdentifier = [NCBrandOptions sharedInstance].capabilitiesGroups;

Marino Faggiana 6 years ago
parent
commit
42c07cb101
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/Networking/CCNetworking.m

+ 2 - 1
iOSClient/Networking/CCNetworking.m

@@ -167,7 +167,8 @@
         configuration.discretionary = NO;
         configuration.HTTPMaximumConnectionsPerHost = 1;
         configuration.requestCachePolicy = NSURLRequestReloadIgnoringLocalCacheData;
-        
+        configuration.sharedContainerIdentifier = [NCBrandOptions sharedInstance].capabilitiesGroups;
+
         sessionUpload = [NSURLSession sessionWithConfiguration:configuration delegate:self delegateQueue:nil];
         sessionUpload.sessionDescription = k_upload_session;
     }