Posted past times Nate Fischer, Software Engineer
Since 2007, Google Safe Browsing has been protecting users across the spider web from phishing together with malware attacks. It protects over 3 billion devices from an increasing position out of threats, at in 1 trial too including unwanted software across desktop together with mobile platforms. Today, we're announcing that Google Play Protect is bringing Safe Browsing to WebView past times default, starting inwards Apr 2018 amongst the liberate of WebView 66.
Developers of Android apps using WebView no longer select to brand whatever changes to create goodness from this protection. Safe Browsing inwards WebView has been available since Android 8.0 (API marker 26), using the same underlying technology scientific discipline every bit Chrome on Android. When Safe Browsing is triggered, the app volition introduce a alert together with have a network error. Apps built for API marker 27 together with higher upward tin forcefulness out customize this demeanour amongst new APIs for Safe Browsing.
An illustration of a alert shown when Safe Browsing detects a unsafe site. The fashion together with content of the alert volition vary depending on the size of the WebView.
You tin forcefulness out larn to a greater extent than nearly customizing together with controlling Safe Browsing inwards the Android API documentation, together with y'all tin forcefulness out exam your application today past times visiting the Safe Browsing exam URL (chrome://safe-browsing/match?type=malware) spell using the electrical flow WebView beta.