Closed juneil closed 6 years ago
same for me.
same
Weird thing is, if you clone the repo it'll work. I've been trying to find the differences.
Well I guess it s the version of Nativescript
Seems like a timing issue. Instantiating the interface after the WebView.loadedEvent event seems to fix it. Example:
let webView: WebView = this.webView.nativeElement;
webView.on(WebView.loadedEvent, () => {
this.oWebViewInterface = new WebViewInterface(webView, 'url');
});
Hi,
I am not able to reproduce the issue on my Android phone (version 6.0) and on emulator (version 5.0). But as @mauriciomelo stated, the issue may come if new WebViewInterface(webView, 'url')
is getting called before android
instance is attached to nativescript webview object.
I have done changes in plugin, so it will initialise android related settings only once android webview is loaded. The patch is released in version 1.4.1
As I am not getting this issue, can anyone please test this issue on latest version of plugin and confirm if it is resolved or not.
Thanks.
Hi,
Works fine with v 1.4.1
Thanks
Hi,
I have this error when I use this plugin with Android
the 'android' property from the webview native element is undefined...
Any idea ? Thanks