当我从 Xamarin UWP Windows App 中的 WebView 内的 JS 代码启动它时,Topaz Signature Pad 抛出异常:NetworkError

Topaz Signature Pad throws Exception: NetworkError when I launch it from JS code inside WebView in Xamarin UWP Windows App

Topaz Signature Pad 抛出异常:当我从 Xamarin UWP 中的 WebView 内的 JS 代码启动它时出现 NetworkError Windows App.

如果我在常规 Web 浏览器中 运行 Topaz,我没有问题,但是在 Xamarin 应用程序的 WebView 中,它会在此方法调用中抛出异常:

var tmr;

function onSign()
{
   var ctx = document.getElementById('cnv').getContext('2d');         
   SetDisplayXSize( 500 );
   SetDisplayYSize( 100 );
   SetTabletState(0, tmr);
   SetJustifyMode(0);
   ClearTablet();
   if(tmr == null)
   {
      tmr = SetTabletState(1, ctx, 50);
   }
   else
   {
      SetTabletState(0, tmr);
      tmr = null;
      tmr = SetTabletState(1, ctx, 50);
   }
}

我正在使用这个演示: http://www.sigplusweb.com/sigwebtablet_demo.htm

我的托帕石是:T-LBK462-HSB-R 我正在使用 SigWeb SDK

谢谢大家。你帮了大忙!

经过大量研究找到了解决方案: 它是 UWP 应用 网络隔离 : Can't see localhost from UWP app