0

I want to call a method in Javascript that invokes C# code in an MAUI WebView and vice-versa, I cannot find any documentation on this.

I have looked at the following issue on github but it did not help me.

How do I do such interop?

YaRmgl
  • 356
  • 1
  • 6
  • 19
  • Have you had a look at this question: [JS/.NET interact on MAUI WebView](https://stackoverflow.com/questions/73217992/js-net-interact-on-maui-webview)? Without having dealt with WebView myself, it seems like your issue could be similar? – noel Dec 07 '22 at 13:19
  • @noel not very helpful thread – YaRmgl Jan 18 '23 at 14:21
  • I finally found it. The link has an answer on how to do it. https://stackoverflow.com/a/75182298/16307914 – Berk Ayvaz Jan 20 '23 at 10:54
  • @BerkAyvaz good one, but it feels more like a hack – YaRmgl Jan 20 '23 at 11:52

0 Answers0