Ignore "intent://" urls on webview (#1193)
ignore intent urls (cherry picked from commit b56a97bb8eaf336c75e69e7fb32b87431d991bb3)
This commit is contained in:
parent
6bb2bc03f3
commit
3cac63ed91
@ -104,6 +104,11 @@ fun WebViewScreenContent(
|
||||
return false
|
||||
}
|
||||
|
||||
// Ignore intents urls
|
||||
if (it.url.toString().startsWith("intent://")) {
|
||||
return true
|
||||
}
|
||||
|
||||
// Continue with request, but with custom headers
|
||||
view?.loadUrl(it.url.toString(), headers)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user