Scripts inside local html is not working with webview Eval in UWP Xamarin forms

Anonymous
2024-06-13T05:22:24.0766667+00:00

Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms.

1.webview.Eval to update the script :User's image

  1. Script inside local html :

User's image

Developer technologies .NET Xamarin
Microsoft 365 and Office Development Office JavaScript API
Developer technologies C#
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-06-28T17:12:46.0533333+00:00

    Xamarin forms for windows uses the edge based webview rather than the webkit based webview used on other platforms. Be sure your html and js are compatible with edge.

    note: if you google you can find webview2 wrappers for Xamarin.

    0 comments No comments

Your answer

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