From 7739f5fb2310755b723028184d90083bec9edfe5 Mon Sep 17 00:00:00 2001 From: Navaron Bracke Date: Tue, 13 Aug 2024 10:52:30 +0200 Subject: [PATCH 1/3] bump web to 1.0.0 & Flutter to 3.22 --- CHANGELOG.md | 3 +++ pubspec.yaml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddc1133fe..b9f069cc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ ## NEXT +* This release requires Flutter 3.22.0 and Dart 3.4. + * [Android] Fixed a leak of the barcode scanner. * [Android] Fixed a crash when encountering invalid numbers for the scan window. +* [Web] Migrates `package:web` to 1.0.0. ## 5.1.1 * This release fixes an issue with automatic starts in the examples. diff --git a/pubspec.yaml b/pubspec.yaml index f283ccd01..7391c3210 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,8 +16,8 @@ screenshots: path: example/screenshots/overlay.png environment: - sdk: ">=3.3.0 <4.0.0" - flutter: ">=3.19.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" dependencies: flutter: @@ -25,7 +25,7 @@ dependencies: flutter_web_plugins: sdk: flutter plugin_platform_interface: ^2.0.2 - web: ^0.5.1 + web: ^1.0.0 dev_dependencies: flutter_test: From 40d080d55daaec2b239aa204277e1c9351e89b96 Mon Sep 17 00:00:00 2001 From: Navaron Bracke Date: Tue, 13 Aug 2024 10:53:06 +0200 Subject: [PATCH 2/3] update web example bootstrapping for Flutter 3.22 --- example/web/index.html | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/example/web/index.html b/example/web/index.html index 5beb6ff8e..1af22e3a9 100644 --- a/example/web/index.html +++ b/example/web/index.html @@ -31,29 +31,8 @@ mobile_scanner_example - - - - - + From 0c48592cb1c447e80778499d7ac3ecd2679d8598 Mon Sep 17 00:00:00 2001 From: Navaron Bracke Date: Tue, 13 Aug 2024 11:23:27 +0200 Subject: [PATCH 3/3] bump flutter stable for CI --- .github/workflows/flutter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 48f055a7c..748295bfb 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -36,7 +36,7 @@ jobs: - uses: subosito/flutter-action@v2.12.0 with: cache: true - flutter-version: '3.19' + flutter-version: '3.22' channel: 'stable' - name: Version run: flutter doctor -v