WebView Behavior iOS vs Android #19842
Unanswered
headintheclouds21
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi MAUI Community,
I'll jump right into it. I'm trying to launch a webview on Android and upon setting the source to my URL I'm seeing a "Browser or Context not supported" page instead of my expected page. This is only happening in Android. The same webview source works fine when running in iOS and will display my page. This happens on the Android emulator as well as a physical phone. I've tried setting the source to google's site and that displays just fine. I can also access the internet via the browser on the phone.
I'm using edge dev tools to investigate my webview, but I'm not seeing any errors or issues in the dev tools that point to an obvious problem.
Does anyone have an idea of why this might be happening and how to fix it? Should this be chalked up to a MAUI bug or is there something I'm misunderstanding about how the webview and/or MAUI works?
Has anyone else experienced an issue with this? Any advice is appreciated.
Screenshot of the Android emulator showing the 'Browser or Context not supported' page. (The buttons simply navigate to another source as I was testing multiple sources.)
Beta Was this translation helpful? Give feedback.
All reactions