Skip to content

WebView not render on older android version #12821

Open
@najeeb-np

Description

@najeeb-np

Description

I have a WebView in my project. It is working exactly as expected on new versions of Android like Android 12 but the same WebView not working on Android 5 and 6, and maybe some other versions that I couldn't check. I don't have any clue why it is not working. I have tried many things like changing the WebView inside Grid and inside StackLayout, setting WidthRequest and HeightRequest, etc. but no luck. Here is my WebView and source link to check.
I migrated from Xamarin.Forms to MAUI and in Xamarin it was working correctly

<WebView Source="https://www.alislah.info"  />

Steps to Reproduce

  1. Create new .net Maui project
  2. Add a ContentPage with WebView and web view source as https://www.alislah.info
  3. Assign page to App.MianPage

(Please see project link attached)

Link to public reproduction project repository

https://github.com/najeeb-np/MauiApp2.App.git

Version with bug

6.0.312

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 5 and 6

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions