prowebview icon indicating copy to clipboard operation
prowebview copied to clipboard

links from google.com and other sites not working

Open Jokaerro opened this issue 7 years ago • 2 comments

Hello, after loading google url like this: proWebView.loadUrl("https://www.google.ru/search?q=wiki");

I can't follow links in search results, looks like the site has loaded but the view has not refreshed

Jokaerro avatar Apr 01 '18 11:04 Jokaerro

i think you have to override shouldOverrideUrlLoading() method and return false, like this:

myWebView.setProClient(new ProWebView.ProClient() {
            @Override
            public boolean shouldOverrideUrlLoading(ProWebView webView, String url) {
                return false;
            }
        });

korchix avatar Feb 14 '19 21:02 korchix

thanks @korchix ! Can the repo owner please just show things working in the main app? This wasted a ton of my time

spragucm avatar Jul 28 '20 18:07 spragucm