dotnet / MobileBlazorBindings

Experimental Mobile Blazor Bindings - Build native and hybrid mobile apps with Blazor
MIT License
1.2k stars 151 forks source link

Disable CORS for Android app #398

Closed tabachuk closed 3 years ago

tabachuk commented 3 years ago

I get this error when I try to access an image through JS code. How can I resolve this problem? Is it possible to disable CORS in MBB somehow? image

Eilon commented 3 years ago

Hmm interesting. In general, I don't think CORS shouldn't play any significant role in BlazorWebView scenarios. What is the request that's trying to access that URL?

tabachuk commented 3 years ago

Oh, sorry. The problem was in my JavaScript code, I'm not very good in JS yet. Thanks, @Eilon!