From 76507697512875d529ba103c95c88ae619baf378 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Thu, 15 Sep 2022 11:50:06 +0200 Subject: [PATCH] fix(android): set WebViewClient on the WebView --- android/capacitor/src/main/java/com/getcapacitor/Bridge.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/capacitor/src/main/java/com/getcapacitor/Bridge.java b/android/capacitor/src/main/java/com/getcapacitor/Bridge.java index 7ef29e474a..f218074b15 100644 --- a/android/capacitor/src/main/java/com/getcapacitor/Bridge.java +++ b/android/capacitor/src/main/java/com/getcapacitor/Bridge.java @@ -1299,6 +1299,7 @@ public BridgeWebViewClient getWebViewClient() { public void setWebViewClient(BridgeWebViewClient client) { this.webViewClient = client; + webView.setWebViewClient(client); } List getWebViewListeners() {