HybridWebView doesn't accept strings returned by JS method invoke #26765
Labels
area-controls-hybridwebview
HybridWebView control
s/triaged
Issue has been reviewed
t/bug
Something isn't working
Milestone
Description
Have a JS method like this:
And call it using HybridWebView like this:
And you get an exception saying that .NET can't parse the value (invalid '#' characters).
This should presumably just work, especially because strings are so common. This could necessitate a different API because the current API seems to always expect JSON being returned, so in that sense it 'correctly' fails, but we should find a way to make this likely common scenario work.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.21 SR2.1
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
No response
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: