possible fix for #1894
This commit is contained in:
parent
e44c31b456
commit
beb827858f
@ -1,3 +1,7 @@
|
||||
## 1.0.6
|
||||
|
||||
- Possible fix for "iOS Fatal Crash" [#1894](https://github.com/pichillilorenzo/flutter_inappwebview/issues/1894)
|
||||
|
||||
## 1.0.5
|
||||
|
||||
- Call `super.dispose();` on `InAppBrowser` and `ChromeSafari` implementations
|
||||
|
@ -2042,12 +2042,15 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate,
|
||||
return
|
||||
}
|
||||
|
||||
// workaround for ProtectionSpace SSL Certificate
|
||||
// https://github.com/pichillilorenzo/flutter_inappwebview/issues/1678
|
||||
DispatchQueue.global(qos: .background).async {
|
||||
if let scheme = challenge.protectionSpace.protocol, scheme == "https",
|
||||
let sslCertificate = challenge.protectionSpace.sslCertificate {
|
||||
InAppWebView.sslCertificatesMap[challenge.protectionSpace.host] = sslCertificate
|
||||
if let scheme = challenge.protectionSpace.protocol, scheme == "https" {
|
||||
// workaround for ProtectionSpace SSL Certificate
|
||||
// https://github.com/pichillilorenzo/flutter_inappwebview/issues/1678
|
||||
DispatchQueue.global(qos: .background).async {
|
||||
if let sslCertificate = challenge.protectionSpace.sslCertificate {
|
||||
DispatchQueue.main.async {
|
||||
InAppWebView.sslCertificatesMap[challenge.protectionSpace.host] = sslCertificate
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: flutter_inappwebview_ios
|
||||
description: iOS implementation of the flutter_inappwebview plugin.
|
||||
version: 1.0.5
|
||||
version: 1.0.6
|
||||
homepage: https://inappwebview.dev/
|
||||
repository: https://github.com/pichillilorenzo/flutter_inappwebview/tree/master/flutter_inappwebview_ios
|
||||
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
|
||||
|
@ -1,3 +1,7 @@
|
||||
## 1.0.4
|
||||
|
||||
- Possible fix for "iOS Fatal Crash" [#1894](https://github.com/pichillilorenzo/flutter_inappwebview/issues/1894)
|
||||
|
||||
## 1.0.3
|
||||
|
||||
- Call `super.dispose();` on `InAppBrowser` implementation
|
||||
|
@ -1424,12 +1424,15 @@ public class InAppWebView: WKWebView, WKUIDelegate,
|
||||
return
|
||||
}
|
||||
|
||||
// workaround for ProtectionSpace SSL Certificate
|
||||
// https://github.com/pichillilorenzo/flutter_inappwebview/issues/1678
|
||||
DispatchQueue.global(qos: .background).async {
|
||||
if let scheme = challenge.protectionSpace.protocol, scheme == "https",
|
||||
let sslCertificate = challenge.protectionSpace.sslCertificate {
|
||||
InAppWebView.sslCertificatesMap[challenge.protectionSpace.host] = sslCertificate
|
||||
if let scheme = challenge.protectionSpace.protocol, scheme == "https" {
|
||||
// workaround for ProtectionSpace SSL Certificate
|
||||
// https://github.com/pichillilorenzo/flutter_inappwebview/issues/1678
|
||||
DispatchQueue.global(qos: .background).async {
|
||||
if let sslCertificate = challenge.protectionSpace.sslCertificate {
|
||||
DispatchQueue.main.async {
|
||||
InAppWebView.sslCertificatesMap[challenge.protectionSpace.host] = sslCertificate
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: flutter_inappwebview_macos
|
||||
description: macOS implementation of the flutter_inappwebview plugin.
|
||||
version: 1.0.3
|
||||
version: 1.0.4
|
||||
homepage: https://inappwebview.dev/
|
||||
repository: https://github.com/pichillilorenzo/flutter_inappwebview/tree/master/flutter_inappwebview_macos
|
||||
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
|
||||
|
Loading…
x
Reference in New Issue
Block a user