Skip to content

Commit

Permalink
Merge pull request pichillilorenzo#11 from brian-lin/TWECACAPP-637_so…
Browse files Browse the repository at this point in the history
…lve_the_issue_webview_bottom_bar_is_shown_for_iOS_12.3_and_later_versions

TWECACAPP-637 solve the issue webview bottom bar is shown for iOS 12.3 and later versions
  • Loading branch information
eJamesLin authored and GitHub Enterprise committed Jun 17, 2020
2 parents dc65c54 + c79558a commit 3e8aa32
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
Expand Up @@ -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
}
Expand Down

0 comments on commit 3e8aa32

Please # to comment.