here is the website url: https://appr.tc
and my code:
<Page ux:Class="Pages.WebPage">
<Router ux:Dependency="router" />
<JavaScript>
var Observable = require("FuseJS/Observable");
var WEB_URI = new Observable("https://appr.tc");
module.exports = { onPageLoaded : function(res) { console.log("WebView arrived at "+ JSON.parse(res.json).url); },WEB_URI:WEB_URI };
</JavaScript>
<DockPanel>
<StatusBarBackground Dock="Top" />
<NativeViewHost>
<WebView Dock="Fill" Url="{WEB_URI}">
<PageLoaded>
<EvaluateJS Handler="{onPageLoaded}">
var result = { url : document.location.href };
return result;
goBack();
</EvaluateJS>
</PageLoaded>
</WebView>
</NativeViewHost>
<BottomBarBackground Dock="Bottom" />
</DockPanel>
</Page>
I find this not work, anyone has solution?
Thanks & Best regards