webview_flutter_android 3.16.4 copy "webview_flutter_android: ^3.16.4" to clipboard
webview_flutter_android: ^3.16.4 copied to clipboard

A Flutter plugin that provides a WebView widget on Android.

3.16.4 #

  • Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
  • Removes support for apps using the v1 Android embedding.

3.16.3 #

  • Bumps androidx.webkit:webkit from 1.10.0 to 1.11.0.

3.16.2 #

  • Bumps androidx.webkit:webkit from 1.7.0 to 1.10.0.
  • Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.

3.16.1 #

  • Fixes iframe navigation being handled in the main frame when NavigationDelegate.onNavigationRequest is present.

3.16.0 #

  • Adds onReceivedHttpError WebViewClient callback to support PlatformNavigationDelegate.onHttpError.
  • Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
  • Updates compileSdk to 34.

3.15.0 #

  • Adds support for setOnScrollPositionChange method to the AndroidWebViewController.

3.14.0 #

  • Adds support to show JavaScript dialog. See AndroidWebViewController.setOnJavaScriptAlertDialog, AndroidWebViewController.setOnJavaScriptConfirmDialog and AndroidWebViewController.setOnJavaScriptTextInputDialog.

3.13.2 #

  • Fixes new lint warnings.

3.13.1 #

  • Bumps androidx.annotation:annotation from 1.7.0 to 1.7.1.

3.13.0 #

  • Adds support for PlatformNavigationDelegate.setOnHttpAuthRequest.
  • Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

3.12.1 #

  • Fixes use_build_context_synchronously lint violations in the example app.

3.12.0 #

  • Adds support for PlatformWebViewController.getUserAgent.

3.11.0 #

  • Adds support to register a callback to receive JavaScript console messages. See AndroidWebViewController.onConsoleMessage.

3.10.1 #

  • Bumps androidx.annotation:annotation from 1.5.0 to 1.7.0.

3.10.0 #

  • Adds support for playing video in fullscreen. See AndroidWebViewController.setCustomWidgetCallbacks.

3.9.5 #

  • Updates pigeon to 11 and removes unneeded enum wrappers.

3.9.4 #

  • Adds pub topics to package metadata.
  • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

3.9.3 #

  • Fixes bug where the PlatformWebViewWidget was rebuilt unnecessarily.

3.9.2 #

  • Fixes bug where PlatformWebViewWidget doesn't rebuild when the controller or PlatformView implementation flag changes.

3.9.1 #

  • Adjusts SDK checks for better testability.

3.9.0 #

  • Adds support for WebResouceError.url.

3.8.2 #

  • Fixes unawaited_futures violations.

3.8.1 #

  • Bumps androidx.webkit:webkit from 1.6.0 to 1.7.0.

3.8.0 #

  • Adds support for handling geolocation permissions. See AndroidWebViewController.setGeolocationPermissionsPromptCallbacks.

3.7.1 #

  • Removes obsolete null checks on non-nullable values.

3.7.0 #

  • Adds support to accept third party cookies. See AndroidWebViewCookieManager.setAcceptThirdPartyCookies.

3.6.3 #

  • Updates gradle, AGP and fixes some lint errors.

3.6.2 #

  • Fixes compatibility with AGP versions older than 4.2.

3.6.1 #

  • Adds a namespace for compatibility with AGP 8.0.

3.6.0 #

  • Adds support for PlatformWebViewController.setOnPlatformPermissionRequest.

3.5.3 #

  • Bumps gradle from 7.2.2 to 8.0.0.

3.5.2 #

  • Updates internal Java InstanceManager to only stop finalization callbacks when stopped.

3.5.1 #

  • Updates pigeon dev dependency to 9.2.4.
  • Fixes Android lint warnings.

3.5.0 #

  • Adds support for PlatformNavigationDelegate.onUrlChange.
  • Bumps androidx.webkit:webkit from 1.6.0 to 1.6.1.
  • Fixes common typos in tests and documentation.

3.4.5 #

  • Removes unused internal WebView field and Java class.

3.4.4 #

  • Fixes a bug where the native WebView wouldn't be traversed for autofill automatically.
  • Updates minimum Flutter version to 3.3.

3.4.3 #

  • Updates internal Java InstanceManager to be cleared on hot restart.

3.4.2 #

  • Clarifies explanation of endorsement in README.

3.4.1 #

  • Fixes a potential bug where a WebView that was not added to the InstanceManager could be returned by a WebViewClient or WebChromeClient.

3.4.0 #

  • Adds support to set text zoom of a page. See AndroidWebViewController.setTextZoom.
  • Aligns Dart and Flutter SDK constraints.

3.3.2 #

  • Resolves compilations warnings.
  • Updates compileSdkVersion to 33.
  • Bumps androidx.webkit:webkit from 1.5.0 to 1.6.0.

3.3.1 #

  • Updates links for the merge of flutter/plugins into flutter/packages.

3.3.0 #

  • Adds support to access native WebView.

3.2.4 #

  • Renames Pigeon output files.

3.2.3 #

  • Fixes bug that prevented the web view from being garbage collected.
  • Fixes bug causing a LateInitializationError when a PlatformNavigationDelegate is not provided.

3.2.2 #

  • Updates example code for use_build_context_synchronously lint.

3.2.1 #

  • Updates code for stricter lint checks.

3.2.0 #

  • Adds support for handling file selection. See AndroidWebViewController.setOnShowFileSelector.
  • Updates pigeon dev dependency to 4.2.14.

3.1.3 #

  • Fixes crash when the Java InstanceManager was used after plugin was removed from the engine.

3.1.2 #

  • Fixes bug where an AndroidWebViewController couldn't be reused with a new WebViewWidget.

3.1.1 #

  • Fixes bug where a AndroidNavigationDelegate was required to load a request.

3.1.0 #

  • Adds support for selecting Hybrid Composition on versions 23+. Please use AndroidWebViewControllerCreationParams.displayWithHybridComposition.

3.0.0 #

  • BREAKING CHANGE Updates platform implementation to 2.0.0 release of webview_flutter_platform_interface. See webview_flutter for updated usage.

2.10.4 #

  • Updates code for no_leading_underscores_for_local_identifiers lint.
  • Bumps androidx.annotation from 1.4.0 to 1.5.0.

2.10.3 #

  • Updates imports for prefer_relative_imports.

2.10.2 #

  • Adds a getter to expose the Java InstanceManager.

2.10.1 #

2.10.0 #

  • Bumps webkit from 1.0.0 to 1.5.0.
  • Raises minimum compileSdkVersion to 32.

2.9.5 #

  • Adds dispose methods for HostApi and FlutterApi of JavaObject.

2.9.4 #

  • Fixes avoid_redundant_argument_values lint warnings and minor typos.
  • Bumps gradle from 7.2.1 to 7.2.2.

2.9.3 #

2.9.2 #

2.9.1 #

2.9.0 #

  • Ignores unnecessary import warnings in preparation for upcoming Flutter changes.
  • Fixes bug where Directionality from context didn't affect SurfaceAndroidWebView.
  • Fixes bug where default text direction was different for SurfaceAndroidWebView and AndroidWebView. Default is now TextDirection.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 return false.

2.8.12 #

  • Bumps mockito-inline from 3.11.1 to 4.6.1.

2.8.11 #

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 to ScaffoldMessenger 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 the WebViewAndroidWidget.loadFile() method is executed.

2.8.1 #

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 and WebView.loadDataWithBaseUrl methods and implements the loadFile and loadHtmlString 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 affects WebView when it is created without Hybrid Composition.

2.2.0 #

  • Implemented new runJavascript and runJavascriptReturningResult 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.