dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

Calling a method that returns `Task` from JS will throw #25968

Open mattleibow opened 1 day ago

mattleibow commented 1 day ago

Description

The calls from JS are all synchronous and this makes it hard to do anything that requires async code.

Steps to Reproduce

TODO

Link to public reproduction project repository

N/A

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output