Skip to content
WebView AllWebView All
Documentation for version 1.2.x; select latest for up-to-date APIs.

Capability Matrix

Legend:

MarkMeaning
FullImplemented by the platform engine or a typed bridge.
LimitedImplemented with documented engine, browser, or OS constraints.
NoNot available and expected to throw or no-op as documented.
FeatureAndroidiOSmacOSWindowsLinuxOHOSWeb
WebViewWidgetFullFullFullFullFullFullFull
loadRequest GETFullFullFullFullFullFullFull
loadRequest GET headersFullFullFullFullFullFullLimited, CORS/fetch
loadRequest POST bodyFullFullFullFullFullFullLimited, CORS/fetch
loadRequest POST headersNoFullFullFullFullNoLimited, CORS/fetch
loadFileFullFullFullFullFullFullNo
loadFlutterAssetFullFullFullFullFullFullFull
loadHtmlStringFullFullFullFullFullFullFull
currentUrlFullFullFullFullFullFullLimited, logical URL for synthetic loads
History back/forwardFullFullFullFullFullFullLimited, controller-managed history
reloadFullFullFullFullFullFullLimited, reloads last controller load
clearCacheFullFullFullFullFullFullLimited, host-origin cache storage
clearLocalStorageFullFullFullFullFullFullLimited, host-origin storage
FeatureAndroidiOSmacOSWindowsLinuxOHOSWeb
onNavigationRequestFullFullFullFullFullFullLimited, controller loads and observable iframe loads
onPageStarted/onPageFinishedFullFullFullFullFullFullLimited, iframe load events
onProgressFullFullFullFullFullFullLimited, synthetic 0/100 plus load event
onUrlChangeFullFullFullFullFullFullLimited, logical URL where needed
onWebResourceErrorFullFullFullFullFullFullLimited, fetch failures only for custom request path
onHttpErrorFullFullFullFullFullFullLimited, fetch-backed loads expose response
HTTP auth callbackFullFullFullFullFullFullNo browser iframe event
Recoverable SSL auth callbackFullFullFullFullFullFullNo browser iframe event
FeatureAndroidiOSmacOSWindowsLinuxOHOSWeb
JavaScript enable/disableFullFullFullFullFullFullLimited, iframe sandbox
runJavaScriptFullFullFullFullFullFullLimited, same-origin only
runJavaScriptReturningResultFullFullFullFullFullFullLimited, same-origin and JSON-serializable
JavaScript channelsFullFullFullFullFullFullLimited, same-origin only
Console message callbackFullFullFullFullFullFullLimited, same-origin hook
alert callbackFullFullFullFullFullFullLimited, same-origin hook
confirm callbackFullFullFullFullFullFullLimited, sync return required
prompt callbackFullFullFullFullFullFullLimited, sync return required
Permission request callbackFullFullFullFullFullFullLimited, same-origin media hook plus browser prompt
File selector callbackFullNo common callbackNo common callbackNo common callbackNo common callbackFullBrowser-owned
Geolocation prompt callbackFullNo platform APINo platform APIBrowser/engine-ownedBrowser/engine-ownedFullBrowser-owned
Fullscreen custom widgetFullEngine-ownedEngine-ownedEngine-ownedEngine-ownedFullBrowser-owned
FeatureAndroidiOSmacOSWindowsLinuxOHOSWeb
getTitleFullFullFullFullFullFullLimited, same-origin document title
Scroll position readFullFullFullFullFullFullLimited, same-origin only
Scroll position callbackFullFullFullFullFullFullLimited, same-origin only
scrollTo/scrollByFullFullFullFullFullFullLimited, same-origin only
Scrollbar visibilityFullFullFullFull, CSS injectionFullFull, CSS injectionFull, CSS injection
Background colorFullFullLimitedFullFullFullFull, iframe CSS
Zoom enable/disableFullFullFullFullFullFullLimited, iframe touch action
User agent overrideFullFullFullFullFullFullNo for non-null override
Overscroll modeFullLimitedLimitedFull, CSS injectionFullFull, CSS injectionFull, iframe CSS
PlatformImportant extra APIs
Androiddebugging, media gesture, text zoom, wide viewport, content/file access, geolocation, file selector, custom fullscreen widget, console, JavaScript dialogs, scrollbars, overscroll, mixed content, Payment Request, insets.
iOS/macOSinline media, media gesture policy, app-bound domains, JavaScript popup policy, back/forward gestures, link preview, inspectable, WebKit file read access, permission prompt forwarding.
WindowsWebView2 environment, runtime version, popup policy, DevTools, suspend/resume, zoom factor, cache disabled, virtual host mapping, extended cookies.
LinuxWebKitGTK developer extras, inspector, media settings, page cache, file URL access, font sizes, zoom factor, JavaScript dialogs, HTTP/SSL auth, permission requests.
OHOSArkWeb settings, debugging, file selector, geolocation prompts, custom fullscreen widget, third-party cookies, OHOS permission resource types.
Webiframe attributes, sandbox/referrer policy, fetch-backed requests, same-origin JS channels, media permission mediation.