- Disables the AndroidGradlePluginVersion issue ID in all android packages.
- Updates example code for
use_build_context_synchronouslylint.
- Updates code for stricter lint checks.
- Adds support for handling file selection. See
AndroidWebViewController.setOnShowFileSelector. - Updates pigeon dev dependency to
4.2.14.
- Fixes crash when the Java
InstanceManagerwas used after plugin was removed from the engine.
- Fixes bug where an
AndroidWebViewControllercouldn't be reused with a newWebViewWidget.
- Fixes bug where a
AndroidNavigationDelegatewas required to load a request.
- Adds support for selecting Hybrid Composition on versions 23+. Please use
AndroidWebViewControllerCreationParams.displayWithHybridComposition.
- BREAKING CHANGE Updates platform implementation to
2.0.0release ofwebview_flutter_platform_interface. See webview_flutter for updated usage.
- Updates code for
no_leading_underscores_for_local_identifierslint. - Bumps androidx.annotation from 1.4.0 to 1.5.0.
- Updates imports for
prefer_relative_imports.
- Adds a getter to expose the Java InstanceManager.
- Adds a method to the
WebViewwrapper to retrieve the X and Y positions simultaneously. - Removes reference to flutter/flutter#97744 from
README.
- Bumps webkit from 1.0.0 to 1.5.0.
- Raises minimum
compileSdkVersionto 32.
- Adds dispose methods for HostApi and FlutterApi of JavaObject.
- Fixes avoid_redundant_argument_values lint warnings and minor typos.
- Bumps gradle from 7.2.1 to 7.2.2.
- Updates the Dart InstanceManager to take a listener for when an object is garbage collected. See flutter/flutter#107199.
- Updates the Java InstanceManager to take a listener for when an object is garbage collected. See flutter/flutter#107199.
- Updates Android WebView classes as Copyable. This is a part of moving the api to handle garbage collection automatically. See flutter/flutter#107199.
- Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
- Fixes bug where
Directionalityfrom context didn't affectSurfaceAndroidWebView. - Fixes bug where default text direction was different for
SurfaceAndroidWebViewandAndroidWebView. Default is nowTextDirection.ltrfor 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.
- Bumps androidx.annotation from 1.0.0 to 1.4.0.
- Fixes a bug which causes an exception when the
onNavigationRequestCallbackreturnfalse.
- Bumps mockito-inline from 3.11.1 to 4.6.1.
- Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
- Updates references to the obsolete master branch.
- Updates Gradle to 7.2.1.
- Minor fixes for new analysis options.
- Removes unnecessary imports.
- Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
- Updates pigeon developer dependency to the latest version which adds support for null safety.
- Migrates deprecated
Scaffold.showSnackBartoScaffoldMessengerin example app.
- Fixes bug preventing
mockitocode generation for tests. - Fixes regression where local storage wasn't cleared when
WebViewController.clearCachewas called.
- Fixes a bug causing
debuggingEnabledto always be set to true. - Fixes an integration test race condition.
- Adds the
WebSettings.setAllowFileAccess()method and ensure that file access is allowed when theWebViewAndroidWidget.loadFile()method is executed.
- Fixes bug where the default user agent string was being set for every rebuild. See flutter/flutter#94847.
- Implements new cookie manager for setting cookies and providing initial cookies.
- Adds support for the
loadRequestmethod from the platform interface.
- Adds implementation of the
loadFlutterAssetmethod from the platform interface.
- Adds an option to set the background color of the webview.
- Adds support for Android's
WebView.loadDataandWebView.loadDataWithBaseUrlmethods and implements theloadFileandloadHtmlStringmethods from the platform interface. - Updates to webview_flutter_platform_interface version 1.5.2.
- Adds explanation on how to generate the pigeon communication layer and mockito mock objects.
- Updates compileSdkVersion to 31.
- Replaces platform implementation with API built with pigeon.
- Fix
NullPointerExceptionfrom a race condition when changing focus. This only affectsWebViewwhen it is created without Hybrid Composition.
- Implemented new
runJavascriptandrunJavascriptReturningResultmethods in platform interface.
- Add
zoomEnabledfunctionality.
- Added Overrides in FlutterWebView.java
- Update example App so navigation menu loads immediatly but only becomes available when
WebViewControlleris available (same behavior as example App in webview_flutter package).
- Extract Android implementation from
webview_flutter.