The problem is rather simple. In the application we want to keep track of the current url being displayed. For that we use shouldOverrideUrlLoading callback fr
shouldOverrideUrlLoading
Please omit mWebView.getSettings().setDomStorageEnabled(true);
mWebView.getSettings().setDomStorageEnabled(true);
Then again try, if a new url found then will invoke shouldOverrideUrl()
shouldOverrideUrl()