I can reproduce your problem on the Android. This because you didn't set the source property for the webview. So the MapSource
method of the WebViewHandler
wasn't called. The Android webview's url is blank when I debugged to check after the page rendered.
The easiest way to fix it is setting the webview's source. Such as:
<local:AuthenticatedWebView Source=""/>
In addition, you don't have to declare the url in the mapping method. You can still using the webview's source property and get it in the mapping method. Such as:
Microsoft.Maui.Handlers.WebViewHandler.Mapper.AppendToMapping(nameof(IWebView.Source), async (handler, view) => { if (view is AuthenticatedWebView webView) { var url = view.Source.ToString(); var token = ""; ...... }); }