Is there a way to create bi-directional communication between MAUI app and web application using HybridWebview in .NET 7 MAUI

PRASHANT GORAKH MANE 106 Reputation points
2022-12-18T10:23:46.03+00:00

I have created simple MAUI application and trying to communication with Blazor web application through HybridWebView MAUI.

Here's MAUI application Source code link
https://github.com/PrashantGorakhMane/WebView-MAUI.git

and

sample blazor application source code link
https://github.com/PrashantGorakhMane/BlazorSampleApp.git

I'm able to invoke MAUI C# methods from WebView, but can't invoke Web blazor methods from MAUI and even not able to return any value.

Developer technologies | .NET | .NET MAUI
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.