diff --git a/ios/Capacitor/Capacitor/CAPBridgeViewController.swift b/ios/Capacitor/Capacitor/CAPBridgeViewController.swift index 1a491ba69..c725f6d30 100644 --- a/ios/Capacitor/Capacitor/CAPBridgeViewController.swift +++ b/ios/Capacitor/Capacitor/CAPBridgeViewController.swift @@ -188,7 +188,7 @@ public class CAPBridgeViewController: UIViewController, CAPBridgeDelegate, WKScr let navUrl = navigationAction.request.url! if let allowNavigation = allowNavigationConfig, let requestHost = navUrl.host { for pattern in allowNavigation { - if matchHost(host: requestHost, pattern: pattern) { + if matchHost(host: requestHost, pattern: pattern.lowercased()) { decisionHandler(.allow) return }