diff --git a/ios/Classes/MyCookieManager.swift b/ios/Classes/MyCookieManager.swift index 11fabcd1d..5a2e86e50 100755 --- a/ios/Classes/MyCookieManager.swift +++ b/ios/Classes/MyCookieManager.swift @@ -119,7 +119,7 @@ class MyCookieManager: NSObject, FlutterPlugin { // The following code could ensure the `completionHandler` will be called after cookie setup. // ref: https://forums.developer.apple.com/message/309275 // ref: https://bugs.webkit.org/show_bug.cgi?id=185483 - guard #available(iOS 13.0, *) else { + guard #available(iOS 12.3, *) else { WKWebsiteDataStore.default().fetchDataRecords(ofTypes: [WKWebsiteDataTypeCookies]) { _ in } return }