startSafeBrowsing method

Future<bool> startSafeBrowsing()

Starts Safe Browsing initialization.

URL loads are not guaranteed to be protected by Safe Browsing until after the this method returns true. Safe Browsing is not fully supported on all devices. For those devices this method will returns false.

This should not be called if Safe Browsing has been disabled by manifest tag or AndroidInAppWebViewOptions.safeBrowsingEnabled. This prepares resources used for Safe Browsing.

This method should only be called if WebViewFeature.isFeatureSupported returns true for WebViewFeature.START_SAFE_BROWSING.

Officially Supported Platforms/Implementations:

Implementation

Future<bool> startSafeBrowsing() => platform.startSafeBrowsing();