Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solve the issue webview bottom bar is shown for iOS 12.3 and later ve…
Browse files Browse the repository at this point in the history
…rsions
crazyleaf9999 committed Jun 17, 2020

Unverified

This user has not yet uploaded their public signing key.
1 parent dc65c54 commit c79558a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/MyCookieManager.swift
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit c79558a

Please sign in to comment.