@capgo/inappbrowser 6.9.7 → 6.9.9

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.
@@ -990,18 +990,16 @@ extension WKWebViewController: WKNavigationDelegate {
990
990
 
991
991
  if !self.allowsFileURL && u.isFileURL {
992
992
  print("Cannot handle file URLs")
993
- return
993
+ decisionHandler(.cancel)
994
994
  }
995
995
 
996
996
  if handleURLWithApp(u, targetFrame: navigationAction.targetFrame) {
997
997
  actionPolicy = .cancel
998
- return
999
998
  }
1000
999
 
1001
1000
  if u.host == self.source?.url?.host, let cookies = availableCookies, !checkRequestCookies(navigationAction.request, cookies: cookies) {
1002
1001
  self.load(remote: u)
1003
1002
  actionPolicy = .cancel
1004
- return
1005
1003
  }
1006
1004
 
1007
1005
  if let navigationType = NavigationType(rawValue: navigationAction.navigationType.rawValue), let result = delegate?.webViewController?(self, decidePolicy: u, navigationType: navigationType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/inappbrowser",
3
- "version": "6.9.7",
3
+ "version": "6.9.9",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",