From 5a43a9c5c96bc5db73b640680e21d2582aa4f667 Mon Sep 17 00:00:00 2001 From: Diego Tori Date: Thu, 14 May 2026 12:58:22 -0400 Subject: [PATCH 1/2] Library now supports Flutter 3.38 again. --- .github/workflows/checks.yml | 2 +- wakelock_plus/example/pubspec.yaml | 4 ++-- wakelock_plus/pubspec.yaml | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f29a9bb..89740e6 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -23,7 +23,7 @@ concurrency: env: # The version of Flutter to use should use the minimum Dart SDK version supported by the package. # Current minimum (N-1 logic) - FLUTTER_VERSION_MINIMUM_DEFAULT: "3.41.6" + FLUTTER_VERSION_MINIMUM_DEFAULT: "3.38.10" # Latest 3.x stable FLUTTER_VERSION_LATEST_STABLE_CHANNEL_DEFAULT: "3.x" # Beta channel support diff --git a/wakelock_plus/example/pubspec.yaml b/wakelock_plus/example/pubspec.yaml index e1db1da..9ef7d7c 100644 --- a/wakelock_plus/example/pubspec.yaml +++ b/wakelock_plus/example/pubspec.yaml @@ -5,8 +5,8 @@ description: Demonstrates how to use the wakelock_plus plugin. publish_to: 'none' # Remove this line if you wish to publish to pub.dev environment: - sdk: '>=3.11.0 <4.0.0' - flutter: ">=3.41.0" + sdk: '>=3.10.0 <4.0.0' + flutter: ">=3.38.0" # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/wakelock_plus/pubspec.yaml b/wakelock_plus/pubspec.yaml index 3cf4703..a09b779 100644 --- a/wakelock_plus/pubspec.yaml +++ b/wakelock_plus/pubspec.yaml @@ -6,8 +6,8 @@ version: 1.6.0 repository: https://github.com/fluttercommunity/wakelock_plus/tree/main/wakelock_plus environment: - sdk: '>=3.11.0 <4.0.0' - flutter: ">=3.41.0" + sdk: '>=3.10.0 <4.0.0' + flutter: ">=3.38.0" dependencies: flutter: @@ -15,14 +15,14 @@ dependencies: flutter_web_plugins: sdk: flutter meta: ^1.17.0 - wakelock_plus_platform_interface: ^1.5.0 + wakelock_plus_platform_interface: ^1.5.1 # Windows dependencies - win32: ">=6.0.0 <7.0.0" + win32: ">=6.0.1 <7.0.0" # Linux dependencies dbus: ^0.7.12 - package_info_plus: ">=10.0.0 <11.0.0" + package_info_plus: ">=10.1.0 <11.0.0" # Web dependencies web: ">=0.5.1 <2.0.0" From 41c604d8a885f2e54af21019d0cce7e16dab988d Mon Sep 17 00:00:00 2001 From: Diego Tori Date: Thu, 14 May 2026 13:14:22 -0400 Subject: [PATCH 2/2] Added more resilient chromium-chromedriver install command. --- .github/workflows/checks.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 89740e6..3f89df1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -515,8 +515,11 @@ jobs: - name: Install Web Dependencies run: | sudo apt-get update - # Install xvfb and the specific chromium-chromedriver - sudo apt-get install -y xvfb chromium-chromedriver + # Install xvfb and the specific chromium-chromedriver. + # We use a retry loop to handle transient Snap Store 408 errors often encountered on CI. + for i in {1..3}; do + sudo apt-get install -y xvfb chromium-chromedriver && break || sleep 15 + done - name: Start ChromeDriver & Xvfb run: |