- Adds support to show JavaScript dialog. See
PlatformWebViewController.setOnJavaScriptAlertDialog
,PlatformWebViewController.setOnJavaScriptConfirmDialog
andPlatformWebViewController.setOnJavaScriptTextInputDialog
.
- Adds support to track scroll position changes. See
PlatformWebViewController.setOnScrollPositionChange
.
- Adds support for handling HTTP basic authentication requests. See
PlatformNavigationDelegate.setOnHttpAuthRequest
. - Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Adds support to register a callback to intercept messages that are written to
the JavaScript console. See
PlatformWebViewController.setOnConsoleMessage
.
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
- Adds support to retrieve the user agent. See
PlatformWebViewController.getUserAgent
.
- Adds support to retrieve the url from a web resource loading error. See
WebResourceError.url
.
- Removes obsolete null checks on non-nullable values.
- Adds support to receive permission requests. See
PlatformWebViewController.setOnPlatformPermissionRequest
.
- Updates minimum Flutter version to 3.3.
- Fixes common typos in tests and documentation.
- Adds support for listening to HTTP errors. See
PlatformNavigationDelegate.setOnHttpError
.
- Adds support to track url changes. See
PlatformNavigationDelegate.setOnUrlChange
. - Aligns Dart and Flutter SDK constraints.
- Updates links for the merge of flutter/plugins into flutter/packages.
- Updates minimum Flutter version to 3.0.
- Improves error message when a platform interface class is used before
WebViewPlatform.instance
has been set.
- Breaking Change: Releases new interface. See documentation and design doc for more details.
- Breaking Change: Removes MethodChannel implementation of interface. All platform
implementations will now need to create their own by implementing
WebViewPlatform
.
- Updates code for
no_leading_underscores_for_local_identifiers
lint.
- Updates imports for
prefer_relative_imports
.
- Updates minimum Flutter version to 2.10.
- Removes
BuildParams
from v4 interface and addslayoutDirection
to the creation params.
- Fixes avoid_redundant_argument_values lint warnings and minor typos.
- Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
- Adds missing build params for v4 WebViewWidget interface.
- Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
- Adds the first iteration of the v4 webview_flutter interface implementation.
- Removes unnecessary imports.
- Migrates from
ui.hash*
toObject.hash*
. - Updates minimum Flutter version to 2.5.0.
- Update to use the
verify
method introduced in platform_plugin_interface 2.1.0.
- Adds the
loadFlutterAsset
method to the platform interface.
- Add an option to set the background color of the webview.
- Revert deprecation of
clearCookies
in WebViewPlatform for later deprecation.
- Adds platform interface for cookie manager.
- Deprecates
clearCookies
in WebViewPlatform in favour ofCookieManager#clearCookies
. - Expanded
CreationParams
to include cookies to be set at webview creation.
- Mirgrates from analysis_options_legacy.yaml to the more strict analysis_options.yaml.
- Reverts the addition of
onUrlChanged
, which was unintentionally a breaking change.
- Added
onUrlChanged
callback to platform callback handler.
- Added
loadFile
andloadHtml
interface methods.
- Added
loadRequest
method to platform interface.
- Added
runJavascript
andrunJavascriptReturningResult
interface methods to supersedeevaluateJavascript
.
- Add
zoomEnabled
functionality toWebSettings
.
- Extracted platform interface from
webview_flutter
.