import { WebView } from "tns-core-modules/ui/web-view"; import * as fs from "tns-core-modules/file-system"; let webView: WebView; export function webViewLoaded(args) { webView = args.object; } const relUrl = "~/web-view/query.html" + "?foo=bar&urlType=relative"; const absoluteUrl = `${fs.knownFolders.currentApp().path}/web-view/query.html` + "?foo=bar&urlType=absolute"; const fileUrl = `file:///${fs.knownFolders.currentApp().path}/web-view/query.html` + "?foo=bar&urlType=filePrefix"; const htmlString = `