parent
840c71b2ef
commit
ab98855c8a
|
@ -133,15 +133,10 @@ public class MyCookieManager: ChannelDelegate {
|
||||||
|
|
||||||
|
|
||||||
if let cookie = HTTPCookie(properties: properties) {
|
if let cookie = HTTPCookie(properties: properties) {
|
||||||
httpCookieStore.setCookie(cookie, completionHandler: {() in
|
MyCookieManager.httpCookieStore.setCookie(cookie, completionHandler: {() in
|
||||||
result(true)
|
result(true)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
let cookie = HTTPCookie(properties: properties)!
|
|
||||||
|
|
||||||
MyCookieManager.httpCookieStore.setCookie(cookie, completionHandler: {() in
|
|
||||||
result(true)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static func getCookies(url: String, result: @escaping FlutterResult) {
|
public static func getCookies(url: String, result: @escaping FlutterResult) {
|
||||||
|
|
Loading…
Reference in New Issue