Skip to content

Commit

Permalink
feat: Bump minimum supported Flutter SDK >= 3.7.0 (#2001)
Browse files Browse the repository at this point in the history
We need this
change(flutter/engine@90815e5),
which was released in Flutter SDK 3.7.0 to fix a crash on
Windows(#1999)

This PR is preparing for the fix.
  • Loading branch information
littleGnAl authored Sep 6, 2024
1 parent 5fa017a commit 3cc945b
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.7.0", "3.x"]
runs-on: ubuntu-latest
timeout-minutes: 120
env:
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.16"]
version: ["3.7.0", "3.16"]
runs-on: macos-12
timeout-minutes: 120
env:
Expand All @@ -140,7 +140,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.7.0", "3.x"]
runs-on: macos-12
timeout-minutes: 120
env:
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.7.0", "3.x"]
runs-on: windows-2019
timeout-minutes: 120
env:
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.7.0", "3.x"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -259,7 +259,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.7.0", "3.x"]
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
Expand All @@ -280,7 +280,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.7.0", "3.x"]
runs-on: macos-12
timeout-minutes: 120
steps:
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.7.0", "3.x"]
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Demonstrates how to use the agora_rtc_engine plugin.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.16.1 <3.0.0"
sdk: ">=2.19.0 <4.0.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
4 changes: 2 additions & 2 deletions test_shard/fake_test_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=2.14.0 <3.0.0'
flutter: '>=2.0.0'
sdk: '>=2.19.0 <4.0.0'
flutter: '>=3.7.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
3 changes: 2 additions & 1 deletion test_shard/integration_test_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=2.14.0 <3.0.0"
sdk: '>=2.19.0 <4.0.0'
flutter: '>=3.7.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
4 changes: 2 additions & 2 deletions test_shard/iris_tester/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.0.1
homepage:

environment:
sdk: '>=2.14.0 <3.0.0'
flutter: '>=2.0.0'
sdk: '>=2.19.0 <4.0.0'
flutter: '>=3.7.0'

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions test_shard/rendering_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=2.14.0 <3.0.0'
flutter: '>=2.0.0'
sdk: '>=2.19.0 <4.0.0'
flutter: '>=3.7.0'

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

0 comments on commit 3cc945b

Please sign in to comment.