setSafeBrowsingWhitelist static method
- @Deprecated("Use setSafeBrowsingAllowlist instead")
Use setSafeBrowsingAllowlist instead.
Officially Supported Platforms/Implementations:
- Android WebView
Parameters - Officially Supported Platforms/Implementations:
hosts: all platforms
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@Deprecated("Use setSafeBrowsingAllowlist instead")
static Future<bool> setSafeBrowsingWhitelist({required List<String> hosts}) =>
PlatformInAppWebViewController.static().setSafeBrowsingWhitelist(
hosts: hosts,
);