Windows printing issue seen when x-web-view is dismissed RRS feed

  • Question

  •  I am using a windows UWP cordova app.

    In order to print from the UWP app, we use Windows.Graphics.Printing.PrintManager.showPrintUIAsync();

    We also need to use x-ms-webview, for other purposes.
    wv = document.createElement('x-ms-webview'); = "test145";
    I destroy the x-ms-webview from DOM using javascript API,

    After destroying the webview, the Printer API fails. It throws the error

    Unhandled exception at line 357, column 1 in res://edgehtml.dll/preview.js​
    ​0x8000ffff - JavaScript runtime error: Unexpected call to method or property access.​

    Is there any workaround/fix for this
    Tuesday, July 16, 2019 12:33 PM