@capgo/inappbrowser 6.1.1 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -104,6 +104,7 @@ open class WKWebViewController: UIViewController {
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
|
|
107
108
|
internal var customUserAgent: String? {
|
|
108
109
|
didSet {
|
|
109
110
|
guard let agent = userAgent else {
|
|
@@ -804,6 +805,7 @@ extension WKWebViewController: WKNavigationDelegate {
|
|
|
804
805
|
|
|
805
806
|
public func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
|
|
806
807
|
var actionPolicy: WKNavigationActionPolicy = .allow
|
|
808
|
+
|
|
807
809
|
defer {
|
|
808
810
|
decisionHandler(actionPolicy)
|
|
809
811
|
}
|