release 6.0.0-beta.7

This commit is contained in:
Lorenzo Pichilli 2022-10-22 22:00:09 +02:00
parent b19539b643
commit 4973770c1c
6 changed files with 51 additions and 8 deletions

View File

@ -1,3 +1,11 @@
## 6.0.0-beta.7
- Updated Android hybrid composition implementation
### BREAKING CHANGES
- Minimum Flutter version `3.0.0`
## 6.0.0-beta.6
- Added `InAppWebViewSettings.allowBackgroundAudioPlaying` for Android
@ -63,6 +71,22 @@
- Removed `URLProtectionSpace.iosIsProxy` property
- `historyUrl` and `baseUrl` of `InAppWebViewInitialData` can be `null`
## 5.7.0
- Added `PlatformViewsService.initExpensiveAndroidView` for Android
### BREAKING CHANGES
- Flutter minimum version `3.0.0`
## 5.6.0+2
- Revert back the usage of `PlatformViewsService.initExpensiveAndroidView`
## 5.6.0+1
- Fixed Android hybrid composition on Flutter 2
## 5.6.0
- Fixed "URLCredential.fromMap returns null for username" [#1205](https://github.com/pichillilorenzo/flutter_inappwebview/issues/1205)

View File

@ -47,7 +47,7 @@ Send a submission request to the [Submit App](https://inappwebview.dev/submit-ap
## Requirements
- Dart sdk: ">=2.14.0 <3.0.0"
- Flutter: ">=2.5.0"
- Flutter: ">=3.0.0"
- Android: `minSdkVersion 19` and add support for `androidx` (see [AndroidX Migration](https://flutter.dev/docs/development/androidx-migration) to migrate an existing app)
- iOS 9.0+: `--ios-language swift`, Xcode version `>= 14`
- MacOS 10.11+: Xcode version `>= 14`

View File

@ -1,6 +1,6 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/lorenzopichilli/fvm/versions/2.10.4"
export "FLUTTER_ROOT=/Users/lorenzopichilli/fvm/versions/3.3.5"
export "FLUTTER_APPLICATION_PATH=/Users/lorenzopichilli/Desktop/flutter_inappwebview/example"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"

View File

@ -22,10 +22,10 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.4
flutter_downloader: ^1.7.3
path_provider: ^2.0.9
permission_handler: ^10.0.2
url_launcher: ^6.0.20
flutter_downloader: 1.7.3
path_provider: 2.0.9
permission_handler: 10.0.2
url_launcher: 6.1.6
pointer_interceptor: ^0.9.3+3
# connectivity: ^0.4.5+6
flutter_inappwebview:

View File

@ -783,3 +783,22 @@ class _InAppWebViewState extends State<InAppWebView> {
}
}
}
extension on PlatformViewsService {
static SurfaceAndroidViewController initExpensiveAndroidView2({
required int id,
required String viewType,
required TextDirection layoutDirection,
dynamic creationParams,
MessageCodec<dynamic>? creationParamsCodec,
VoidCallback? onFocus,
}) {
return PlatformViewsService.initSurfaceAndroidView(
id: id,
viewType: viewType,
layoutDirection: layoutDirection,
creationParams: creationParams,
creationParamsCodec: const StandardMessageCodec(),
);
}
}

View File

@ -1,13 +1,13 @@
name: flutter_inappwebview
description: A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser window.
version: 6.0.0-beta.6
version: 6.0.0-beta.7
homepage: https://inappwebview.dev/
repository: https://github.com/pichillilorenzo/flutter_inappwebview
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
environment:
sdk: ">=2.14.0 <3.0.0"
flutter: ">=2.5.0"
flutter: ">=3.0.0"
dependencies:
flutter: