We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AlamofireNetwork
1 parent 9fb3d9d commit 18a540fCopy full SHA for 18a540f
Networking/Networking/Network/AlamofireNetwork.swift
@@ -19,7 +19,8 @@ public class AlamofireNetwork: Network {
19
///
20
public required init(credentials: Credentials) {
21
self.credentials = credentials
22
- let configuration = URLSessionConfiguration.background(withIdentifier: "com.automattic.woocommerce.backgroundsession")
+ let uniqueID = UUID().uuidString
23
+ let configuration = URLSessionConfiguration.background(withIdentifier: "com.automattic.woocommerce.backgroundsession.\(uniqueID)")
24
self.backgroundSessionManager = Alamofire.SessionManager(configuration: configuration)
25
}
26
0 commit comments