From dfa20df49ef7bc09c4ceed442ef2f3863d7dce02 Mon Sep 17 00:00:00 2001 From: Beth Massi Date: Mon, 17 Nov 2025 15:42:34 -0800 Subject: [PATCH] Document implementation restrictions when intercepting web requests Added implementation restrictions when intercepting requests for hybridwebview on different platforms. --- docs/user-interface/controls/hybridwebview.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/user-interface/controls/hybridwebview.md b/docs/user-interface/controls/hybridwebview.md index 19003b756..7b7b61051 100644 --- a/docs/user-interface/controls/hybridwebview.md +++ b/docs/user-interface/controls/hybridwebview.md @@ -1024,4 +1024,19 @@ Common patterns include: - Returning local files or in-memory content for offline or testing scenarios. - Redirecting to a different URI by returning a 3xx status code with an appropriate `Location` header. +### Implementation Restrictions + +* **Android** + * Android does not directly allow "intercept-and-continue" for requests. The implementation is to rather notify you that a request is about to happen and you can either replace the whole request or do nothing and let the webview do it. + * Android does not support custom schemes. +* **iOS/Mac Catalyst** + * iOS and Mac Catalyst do not allow interception of `http` and `https` requests. + +| Platform | Intercept HTTPS | Intercept Custom Schemes | Request Modification | +|---------------|------------------|---------------------------|----------------------| +| Android | ✅ | ❌ | ❌ | +| iOS | ❌ | ✅ | ❌ | +| Mac Catalyst | ❌ | ✅ | ❌ | +| Windows | ✅ | ✅ | ✅ | + ::: moniker-end