diff --git a/ios/Classes/MyCookieManager.swift b/ios/Classes/MyCookieManager.swift index f8fca748..292c1038 100755 --- a/ios/Classes/MyCookieManager.swift +++ b/ios/Classes/MyCookieManager.swift @@ -131,6 +131,12 @@ public class MyCookieManager: ChannelDelegate { } } + + if let cookie = HTTPCookie(properties: properties) { + httpCookieStore.setCookie(cookie, completionHandler: {() in + result(true) + }) + } let cookie = HTTPCookie(properties: properties)! MyCookieManager.httpCookieStore.setCookie(cookie, completionHandler: {() in