locked
Xamarin Hybrid Webview Windows UWP crash webOnNavigating with long URL RRS feed

  • Question

  • We have a Xamarin UWP App using a Hybrid Webview which started to crash a few days ago.

    We traced it down to a line of JavaScript inside the HTML page to Call a C#-Method in the underlying CS-Code.
    This call causes the UWP to crash and disappear without further notifcation, even if running from withing visual studio. It seems to be related to the length of the URL created to navigate to (storage is the JSON-Data to pass to SetStorageAsync):
    location.replace(HYBRID_URL + "SetStorageAsync" + "?" + "data=" + storage);

    Windows Event Log:
    Name des fehlerhaften Moduls: edgehtml.dll, Version: 11.0.17763.437, Zeitstempel: 0xb1870ea7
    Ausnahmecode: 0x80004003
    Fehleroffset: 0x00000000008a14f5
    ID des fehlerhaften Prozesses: 0x6aec
    Startzeit der fehlerhaften Anwendung: 0x01d4f4fafe9b1c59

    Windows Version:

    Did MS change something related to this (I guess it is the Edge URL length) in last Windows Updates?

    Irgi02


    SI

    Wednesday, April 17, 2019 10:23 AM

All replies