diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f29a9bb..3f89df1 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 @@ -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: | 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"