Skip to content

Commit b1ed7fb

Browse files
authored
Merge pull request #133 from diegotori/wakelock_plus_flutter_3.38_downgrade
wakelock_plus Flutter 3.38 downgrade
2 parents 7ef9d30 + 41c604d commit b1ed7fb

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/checks.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323
env:
2424
# The version of Flutter to use should use the minimum Dart SDK version supported by the package.
2525
# Current minimum (N-1 logic)
26-
FLUTTER_VERSION_MINIMUM_DEFAULT: "3.41.6"
26+
FLUTTER_VERSION_MINIMUM_DEFAULT: "3.38.10"
2727
# Latest 3.x stable
2828
FLUTTER_VERSION_LATEST_STABLE_CHANNEL_DEFAULT: "3.x"
2929
# Beta channel support
@@ -515,8 +515,11 @@ jobs:
515515
- name: Install Web Dependencies
516516
run: |
517517
sudo apt-get update
518-
# Install xvfb and the specific chromium-chromedriver
519-
sudo apt-get install -y xvfb chromium-chromedriver
518+
# Install xvfb and the specific chromium-chromedriver.
519+
# We use a retry loop to handle transient Snap Store 408 errors often encountered on CI.
520+
for i in {1..3}; do
521+
sudo apt-get install -y xvfb chromium-chromedriver && break || sleep 15
522+
done
520523
521524
- name: Start ChromeDriver & Xvfb
522525
run: |

wakelock_plus/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: Demonstrates how to use the wakelock_plus plugin.
55
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
66

77
environment:
8-
sdk: '>=3.11.0 <4.0.0'
9-
flutter: ">=3.41.0"
8+
sdk: '>=3.10.0 <4.0.0'
9+
flutter: ">=3.38.0"
1010

1111
# Dependencies specify other packages that your package needs in order to work.
1212
# To automatically upgrade your package dependencies to the latest versions

wakelock_plus/pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ version: 1.6.0
66
repository: https://github.com/fluttercommunity/wakelock_plus/tree/main/wakelock_plus
77

88
environment:
9-
sdk: '>=3.11.0 <4.0.0'
10-
flutter: ">=3.41.0"
9+
sdk: '>=3.10.0 <4.0.0'
10+
flutter: ">=3.38.0"
1111

1212
dependencies:
1313
flutter:
1414
sdk: flutter
1515
flutter_web_plugins:
1616
sdk: flutter
1717
meta: ^1.17.0
18-
wakelock_plus_platform_interface: ^1.5.0
18+
wakelock_plus_platform_interface: ^1.5.1
1919

2020
# Windows dependencies
21-
win32: ">=6.0.0 <7.0.0"
21+
win32: ">=6.0.1 <7.0.0"
2222

2323
# Linux dependencies
2424
dbus: ^0.7.12
25-
package_info_plus: ">=10.0.0 <11.0.0"
25+
package_info_plus: ">=10.1.0 <11.0.0"
2626

2727
# Web dependencies
2828
web: ">=0.5.1 <2.0.0"

0 commit comments

Comments
 (0)