WebViewClient not calling shouldOverrideUrlLoading

后端 未结 10 2351
逝去的感伤
逝去的感伤 2020-12-15 18:44

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

10条回答
  •  遥遥无期
    2020-12-15 19:07

    Add webView.getSetting().setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW); then shouldOverrideUrl will be triggered.

提交回复
热议问题