jpmikkers / Baksteen.Avalonia.Blazor

Build Avalonia-Blazor hybrid desktop apps using this Blazor webview component for Avalonia
MIT License
117 stars 9 forks source link

Port to iOS? #3

Open davidchavezgrant opened 1 year ago

davidchavezgrant commented 1 year ago

Is there any reason this couldn't work in iOS, or on something other than WinForms? I'd be very happy to look into this.

jpmikkers commented 1 year ago

It's tricky. In my main branch I just wrap the existing winforms BlazorWebView to avalonia, but winforms doesn't work on MacOS. Then as an alternative, I managed to create a CefSharp based BlazorWebView component (in my wip branch, see here) but CefSharp doesn't support MacOS afaik. CefGlue does apparently, but the current maintainers just close any issue regarding Linux support (which is my main focus).

charleypeng commented 1 year ago

maybe we can try to wrap this cross platform as an avalonia control

[photino.Native]https://github.com/tryphotino/photino.Native [photino.Blazor]https://github.com/tryphotino/photino.Blazor

charleypeng commented 1 year ago

If you wan to use webview in blazor,just check this repo https://github.com/MicroSugarDeveloperOrg/Avalonia.WebView/issues/11

In linux it is buggy but still can work. If you are willing to contribute would be better 😁