Enable Mixed Content for BlazorWebView in MAUI hybrid

Copper Contributor

Hi
I want to display an image in my hybrid app from HTTP source. When I tried it, it throws me Mixed Content error, because BlazorWebView is running over HTTPS.
After some search results I found that I can allow it by making 

UsesCleartextTraffic = true

but didn't work
I tried to create a custom renderer for BlazorWebView over android webview, but didn't work because BlazorWeView not a regular webview

 

So I think if you can add some settings in BlazorWebView to customize some features like allowing mixed content it will be very usefull

2 Replies
Thank you, but the images are still not showing