Skip to content

Instantly share code, notes, and snippets.

@n1lesh
Last active August 28, 2022 23:53
Show Gist options
  • Save n1lesh/1ba55eae709712ebb38bc65acda0f19e to your computer and use it in GitHub Desktop.
Save n1lesh/1ba55eae709712ebb38bc65acda0f19e to your computer and use it in GitHub Desktop.
Enable Safe Browsing in WebViews - Android O
<manifest>
<application>
. . .
<meta-data android:name="android.webkit.WebView.EnableSafeBrowsing"
android:value="true" />
. . .
</application>
</manifest>
@nfischer
Copy link

@n1lesh Ah, just saw this comment. Sorry for the late reply!

Yeah, it's unfortunate that the original blog post was incorrect. Our team must have missed it during review, so that's on us. The mistake slipped into this post as well, but we've since fixed the error 😄

I'll look into who owns that original blog post and see if we can fix that one too.

Glad to hear you've liked Chrome Custom Tabs. That's another great product from the team, and provides a lot of Chrome's power and safety, embedded in your app.

Feel free to ping me if you have any questions on either Safe Browsing or multiprocess, or (even better) ask a question on the android-webview-dev mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment