Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Flutter and fix Android typing to align with the SDK #109

Merged
merged 6 commits into from Nov 30, 2022

Conversation

chuganzy
Copy link
Contributor

@chuganzy chuganzy commented Nov 18, 2022

This PR is to make this package compatible with Flutter 3.3.x.

No change was needed in iOS, but some were needed in Android for nullability updates in Flutter SDK.

This PR also improves Android integration test's stability.

@chuganzy chuganzy marked this pull request as draft November 18, 2022 07:34
@chuganzy chuganzy marked this pull request as ready for review November 18, 2022 07:38
@chuganzy chuganzy marked this pull request as draft November 18, 2022 08:53
@chuganzy chuganzy marked this pull request as ready for review November 18, 2022 14:36
]);
expect(
context.pageFinishedEvents,
anyOf(isEmpty, [
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

onPageFinished in this case is no longer called on Android 13.

@@ -1,12 +1,12 @@
buildscript {
ext.kotlin_version = '1.3.50'
ext.kotlin_version = '1.5.31'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flutter's minimum Kotlin version.

@@ -5,6 +5,8 @@ import 'package:flutter_test/flutter_test.dart' as test;
import 'package:native_webview/native_webview.dart';
import 'package:native_webview_example/integration_test/webview_event.dart';

const TARGET_URL = "https://example.com/";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switched from dart.dev to example.com because dart.dev has some videos embedded, which require user's interaction to load, and result in a navigation error.

@chuganzy chuganzy mentioned this pull request Nov 24, 2022
@hisaichi5518 hisaichi5518 merged commit 5a55d6a into hisaichi5518:master Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants