webview_flutter_platform_interface 2.14.0
webview_flutter_platform_interface: ^2.14.0 copied to clipboard
A common platform interface for the webview_flutter plugin.
2.14.0 #
- Adds
PlatformWebViewController.loadFileWithParams(LoadFileParams)to support loading local HTML files with platform-specific parameters.
2.13.1 #
- Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.
- Fixes typo in API docs.
2.13.0 #
- Adds support to respond to recoverable SSL certificate errors. See
PlatformNavigationDelegate.setOnSSlAuthError.
2.12.0 #
- Adds support to set whether to draw the scrollbar. See
PlatformWebViewController.setVerticalScrollBarEnabled,PlatformWebViewController.setHorizontalScrollBarEnabled,PlatformWebViewController.supportsSetScrollBarsEnabled.
2.11.0 #
- Adds support to set the over-scroll mode for the WebView. See
PlatformWebViewController.setOverScrollMode. - Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
2.10.0 #
- Adds
WebResourceRequestandWebResourceResponsetoHttpResponseError.
2.9.1 #
- Updates minimum required plugin_platform_interface version to 2.1.7.
2.9.0 #
- Adds support to show JavaScript dialog. See
PlatformWebViewController.setOnJavaScriptAlertDialog,PlatformWebViewController.setOnJavaScriptConfirmDialogandPlatformWebViewController.setOnJavaScriptTextInputDialog.
2.8.0 #
- Adds support to track scroll position changes. See
PlatformWebViewController.setOnScrollPositionChange.
2.7.0 #
- Adds support for handling HTTP basic authentication requests. See
PlatformNavigationDelegate.setOnHttpAuthRequest. - Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
2.6.0 #
- Adds support to register a callback to intercept messages that are written to
the JavaScript console. See
PlatformWebViewController.setOnConsoleMessage.
2.5.1 #
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
2.5.0 #
- Adds support to retrieve the user agent. See
PlatformWebViewController.getUserAgent.
2.4.0 #
- Adds support to retrieve the url from a web resource loading error. See
WebResourceError.url.
2.3.1 #
- Removes obsolete null checks on non-nullable values.
2.3.0 #
- Adds support to receive permission requests. See
PlatformWebViewController.setOnPlatformPermissionRequest.
2.2.0 #
- Updates minimum Flutter version to 3.3.
- Fixes common typos in tests and documentation.
- Adds support for listening to HTTP errors. See
PlatformNavigationDelegate.setOnHttpError.
2.1.0 #
- Adds support to track url changes. See
PlatformNavigationDelegate.setOnUrlChange. - Aligns Dart and Flutter SDK constraints.
2.0.2 #
- Updates links for the merge of flutter/plugins into flutter/packages.
- Updates minimum Flutter version to 3.0.
2.0.1 #
- Improves error message when a platform interface class is used before
WebViewPlatform.instancehas been set.
2.0.0 #
- 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.
1.9.5 #
- Updates code for
no_leading_underscores_for_local_identifierslint.
1.9.4 #
- Updates imports for
prefer_relative_imports.
1.9.3 #
- Updates minimum Flutter version to 2.10.
- Removes
BuildParamsfrom v4 interface and addslayoutDirectionto the creation params.
1.9.2 #
- 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.
1.9.1 #
- Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
1.9.0 #
- Adds the first iteration of the v4 webview_flutter interface implementation.
- Removes unnecessary imports.
1.8.2 #
- Migrates from
ui.hash*toObject.hash*. - Updates minimum Flutter version to 2.5.0.
1.8.1 #
- Update to use the
verifymethod introduced in platform_plugin_interface 2.1.0.
1.8.0 #
- Adds the
loadFlutterAssetmethod to the platform interface.
1.7.0 #
- Add an option to set the background color of the webview.
1.6.1 #
- Revert deprecation of
clearCookiesin WebViewPlatform for later deprecation.
1.6.0 #
- Adds platform interface for cookie manager.
- Deprecates
clearCookiesin WebViewPlatform in favour ofCookieManager#clearCookies. - Expanded
CreationParamsto include cookies to be set at webview creation.
1.5.2 #
- Mirgrates from analysis_options_legacy.yaml to the more strict analysis_options.yaml.
1.5.1 #
- Reverts the addition of
onUrlChanged, which was unintentionally a breaking change.
1.5.0 #
- Added
onUrlChangedcallback to platform callback handler.
1.4.0 #
- Added
loadFileandloadHtmlinterface methods.
1.3.0 #
- Added
loadRequestmethod to platform interface.
1.2.0 #
- Added
runJavascriptandrunJavascriptReturningResultinterface methods to supersedeevaluateJavascript.
1.1.0 #
- Add
zoomEnabledfunctionality toWebSettings.
1.0.0 #
- Extracted platform interface from
webview_flutter.