Android-SmartWebView icon indicating copy to clipboard operation
Android-SmartWebView copied to clipboard

Multiple window not supported

Open deepakchugh16 opened this issue 4 years ago • 1 comments

I am using smartwebview code for my app and it is working fine except during payment.

Payment gateway is working fine in browser, I googled it and found that it is due to multiple windows issue. And also found below to code needs to be added in the webview code to fix this issue. myWebView.getSettings().setSupportMultipleWindows(true); myWebView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);

Is there any feature available in this code, if not how to fix this issue. Please help.

deepakchugh16 avatar Dec 03 '20 17:12 deepakchugh16

SWV is supposed to give native app experience. So multiple windows/tabs don't seem very appropriate and make it more of a browser than app, there is Chrome tabs option though, you can try it for external URLs.

mgks avatar Dec 08 '20 03:12 mgks