Hi,
WebView is not working, neither on Android or iOS
The Code
<App Theme="Basic">
<JavaScript>
module.exports = {
onPageLoaded : function(res) {
console.log("WebView arrived at "+ JSON.parse(res.json).url);
}
};
</JavaScript>
<DockPanel>
<StatusBarBackground Dock="Top"/>
<NativeViewHost>
<WebView Dock="Fill" Url="http://www.google.com">
<PageLoaded>
<EvaluateJS Handler="{onPageLoaded}">
var result = {
url : document.location.href
};
return result;
</EvaluateJS>
</PageLoaded>
</WebView>
</NativeViewHost>
<BottomBarBackground Dock="Bottom" />
</DockPanel>
</App>
This returns
WebView arrived at about:blank -> On iOS preview
I/Apriori_multiplatform(30780): WebView arrived at about:blank
D/ConnectivityManager.CallbackHandler(30780): CM callback handler got msg 524290
-> On Android
And displays a blank page
Using Fuse 0.9.9 Build 5742