NativeScript+Angular Webview's javascript alert and confirm is not working



I am including webview in my application, when i went to webview it’s opening html page, that html page has javascript alert and confirm are there, these both are not working in webview, how to resolve this issue?


Try overriding the default WebViewClient with WebChromeClient.


how to do that can you give any example?


Below is a quick example to customize WebViewClient, you have to use WebChromeClient in your case.


i am using angular, will it support for that? where can i include these in my component