You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see here, it's actually (and unfortunately) expected behaviour and documented accordingly.
I'm afraid the only solution to this problem would be using WebViewClient#shouldInterceptRequest (available on API levels 11+ and 21+, respectively) instead of WebViewClient#shouldOverrideUrlLoading.
But in that case, we would have to do all resource requests (pages, images, CSS, JS, etc.) ourselves, i.e. download them with a HTTP client.
But you can do this yourself already without changing this library: Just implement those WebViewClient methods yourself and apply your custom WebViewClient instance via setWebViewClient.
AddHttpHeader does not work when use post url in Webview
The text was updated successfully, but these errors were encountered: