webview_flutter_android 2.9.2 webview_flutter_android: ^2.9.2 copied to clipboard
A Flutter plugin that provides a WebView widget on Android.
2.9.2 #
- Updates the Java InstanceManager to take a listener for when an object is garbage collected. See https://github.com/flutter/flutter/issues/107199.
2.9.1 #
- Updates Android WebView classes as Copyable. This is a part of moving the api to handle garbage collection automatically. See https://github.com/flutter/flutter/issues/107199.
2.9.0 #
- Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
- Fixes bug where
Directionality
from context didn't affectSurfaceAndroidWebView
. - Fixes bug where default text direction was different for
SurfaceAndroidWebView
andAndroidWebView
. Default is nowTextDirection.ltr
for both. - Fixes bug where setting WebView to a transparent background could cause visual errors when using
SurfaceAndroidWebView
. Hybrid composition is now used when the background color is not 100% opaque. - Raises minimum Flutter version to 3.0.0.
2.8.14 #
- Bumps androidx.annotation from 1.0.0 to 1.4.0.
2.8.13 #
- Fixes a bug which causes an exception when the
onNavigationRequestCallback
returnfalse
.
2.8.12 #
- Bumps mockito-inline from 3.11.1 to 4.6.1.
2.8.11 #
- Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
2.8.10 #
- Updates references to the obsolete master branch.
2.8.9 #
- Updates Gradle to 7.2.1.
2.8.8 #
- Minor fixes for new analysis options.
2.8.7 #
- Removes unnecessary imports.
- Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
2.8.6 #
- Updates pigeon developer dependency to the latest version which adds support for null safety.
2.8.5 #
- Migrates deprecated
Scaffold.showSnackBar
toScaffoldMessenger
in example app.
2.8.4 #
- Fixes bug preventing
mockito
code generation for tests. - Fixes regression where local storage wasn't cleared when
WebViewController.clearCache
was called.
2.8.3 #
- Fixes a bug causing
debuggingEnabled
to always be set to true. - Fixes an integration test race condition.
2.8.2 #
- Adds the
WebSettings.setAllowFileAccess()
method and ensure that file access is allowed when theWebViewAndroidWidget.loadFile()
method is executed.
2.8.1 #
- Fixes bug where the default user agent string was being set for every rebuild. See https://github.com/flutter/flutter/issues/94847.
2.8.0 #
- Implements new cookie manager for setting cookies and providing initial cookies.
2.7.0 #
- Adds support for the
loadRequest
method from the platform interface.
2.6.0 #
- Adds implementation of the
loadFlutterAsset
method from the platform interface.
2.5.0 #
- Adds an option to set the background color of the webview.
2.4.0 #
- Adds support for Android's
WebView.loadData
andWebView.loadDataWithBaseUrl
methods and implements theloadFile
andloadHtmlString
methods from the platform interface. - Updates to webview_flutter_platform_interface version 1.5.2.
2.3.1 #
- Adds explanation on how to generate the pigeon communication layer and mockito mock objects.
- Updates compileSdkVersion to 31.
2.3.0 #
- Replaces platform implementation with API built with pigeon.
2.2.1 #
- Fix
NullPointerException
from a race condition when changing focus. This only affectsWebView
when it is created without Hybrid Composition.
2.2.0 #
- Implemented new
runJavascript
andrunJavascriptReturningResult
methods in platform interface.
2.1.0 #
- Add
zoomEnabled
functionality.
2.0.15 #
- Added Overrides in FlutterWebView.java
2.0.14 #
- Update example App so navigation menu loads immediatly but only becomes available when
WebViewController
is available (same behavior as example App in webview_flutter package).
2.0.13 #
- Extract Android implementation from
webview_flutter
.