userAgent property
Sets the user-agent for the WebView.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebSettings.setUserAgentString)
- iOS (Official API - WKWebView.customUserAgent)
- MacOS (Official API - WKWebView.customUserAgent)
- Windows (Official API - ICoreWebView2Settings2.put_UserAgent)
Implementation
String? userAgent;