shripalsoni04 / nativescript-webview-interface

Plugin for bi-directional communication between webView and android/ios
MIT License
89 stars 35 forks source link

Javascript Alert and confirm is not showing #27

Open kennedymca opened 6 years ago

kennedymca commented 6 years ago

Hi,

in my webview i am using alert and confirm, it's not showing, how to solve this?

tdhman commented 5 years ago

@kennedymca You cannot have alert/confirm showing in a WebView. However, you can use the webview interface to send an event alert/confirm to native code, then create & show native alert dialog, then send back the result via webview interface if needed. Also, this is not the issue with webview interface. It's the default functionality of webview. If you want to search for other solution, try stack overflow.