clearClientCertPreferences static method
Clears the client certificate preferences stored in response to proceeding/cancelling client cert requests. Note that WebView automatically clears these preferences when the system keychain is updated. The preferences are shared by all the WebViews that are created by the embedder application.
Officially Supported Platforms/Implementations:
- Android WebView 21+ (Official API - WebView.clearClientCertPreferences)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
static Future<void> clearClientCertPreferences() =>
PlatformInAppWebViewController.static().clearClientCertPreferences();