Skip to content

Commit 6f2dd54

Browse files
[webview_flutter] Update Pigeon for Kotlin 1.8 compat (#10486)
Rolls Pigeon to 26.1.2 in `webview_flutter_android` to pick up a fix for a Kotlin 1.8 compatibility issue. Fixes flutter/flutter#178756 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent 061eedc commit 6f2dd54

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

packages/webview_flutter/webview_flutter_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 4.10.9
2+
3+
* Fixes a compatibility issue with Kotlin 1.8.
4+
15
## 4.10.8
26

37
* Bumps com.android.tools.build:gradle from 8.12.1 to 8.13.1.

packages/webview_flutter/webview_flutter_android/android/src/main/java/io/flutter/plugins/webviewflutter/AndroidWebkitLibrary.g.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2013 The Flutter Authors
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
// Autogenerated from Pigeon (v26.1.0), do not edit directly.
4+
// Autogenerated from Pigeon (v26.1.2), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66
@file:Suppress("UNCHECKED_CAST", "ArrayInDataClass")
77

@@ -217,7 +217,7 @@ class AndroidWebkitLibraryPigeonInstanceManager(
217217
}
218218

219219
/** Retrieves the instance associated with identifier, if present, otherwise `null`. */
220-
fun <T> getInstance(identifier: Long): T? {
220+
fun <T : Any> getInstance(identifier: Long): T? {
221221
logWarningIfFinalizationListenerHasStopped()
222222
val instance = weakInstances[identifier] as IdentityWeakReference<T>?
223223
return instance?.get()

packages/webview_flutter/webview_flutter_android/lib/src/android_webkit.g.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2013 The Flutter Authors
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
// Autogenerated from Pigeon (v26.1.0), do not edit directly.
4+
// Autogenerated from Pigeon (v26.1.2), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers
77

packages/webview_flutter/webview_flutter_android/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: webview_flutter_android
22
description: A Flutter plugin that provides a WebView widget on Android.
33
repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22
5-
version: 4.10.8
5+
version: 4.10.9
66

77
environment:
88
sdk: ^3.9.0
@@ -28,7 +28,7 @@ dev_dependencies:
2828
flutter_test:
2929
sdk: flutter
3030
mockito: ^5.4.4
31-
pigeon: ^26.1.0
31+
pigeon: ^26.1.2
3232

3333
topics:
3434
- html

0 commit comments

Comments
 (0)