Skip to content

Can SkiaSharp.Views.Blazor be used in a BlazorWebView in a Maui Blazor Hybrid app? #3185

Answered by mattleibow
ToolmakerSteve asked this question in Q&A
Discussion options

You must be logged in to vote

The SkiaSharp Blazor components don't work in MAUI unfortunately. On the web, it is WASM so the code is all in the same process, but in Blazor Server and Maui Hybrid, the web control is a separate process.

Where are you planning on using SkiaSharp in the pages? For example, if you want to do photo editing or signature capture or something, you could render a native popup or page or overlay with the SkiaSharp canvas.

I don't expect this to work in Hybrid, because the actual native binary for Blazor is just for WASM. So in a hybrid scenario, we would either need an embedded wasm component or somehow do interop with the native platform. Neither of which I think are supported.

But, I will als…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mattleibow
Comment options

Answer selected by ToolmakerSteve
@ToolmakerSteve
Comment options

@ToolmakerSteve
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants