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

Keerthana Sathiyanathan 0 Reputation points

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

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
968 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,631 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce ( 61,266 Reputation points

    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