Skip to content

Commit 6094aa2

Browse files
CI: test with Flutter 2.2.0 which fixes resolving null safety deps.
1 parent 6b80edc commit 6094aa2

File tree

4 files changed

+6
-16
lines changed

4 files changed

+6
-16
lines changed

.github/workflows/dart.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ jobs:
9696
- ubuntu-20.04
9797
flutter-version:
9898
- 3.0.0
99-
- 2.0.0 # Lowest supported version, based on lowest supported Dart SDK, see pubspec.yaml files
99+
- 2.2.0
100+
# 2.0.0 technically lowest supported, but need 2.2.0 to correctly resolve null safety dependencies.
101+
# https://github.com/flutter/flutter/issues/77282
100102
runs-on: ${{ matrix.os }}
101103
steps:
102104
- uses: actions/checkout@v2

objectbox/example/flutter/objectbox_demo/pubspec.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ description: An example project for the objectbox-dart binding.
33
version: 0.3.0+1
44

55
environment:
6-
sdk: ^2.12.0
7-
flutter: ^2.0.0
6+
sdk: ">=2.13.0 <3.0.0"
87

98
dependencies:
109
flutter:
@@ -32,8 +31,3 @@ dependency_overrides:
3231
path: ../../../../generator
3332
objectbox_flutter_libs:
3433
path: ../../../../flutter_libs
35-
36-
# Temporary flutter_driver issue, same as https://github.com/flutter/flutter/issues/77282
37-
archive: ^3.0.0
38-
convert: ^3.0.0
39-
crypto: ^3.0.0

objectbox/example/flutter/objectbox_demo_relations/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1818
version: 1.0.0+1
1919

2020
environment:
21-
sdk: ">=2.12.0 <3.0.0"
21+
sdk: ">=2.13.0 <3.0.0"
2222

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

objectbox/example/flutter/objectbox_demo_sync/pubspec.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ description: An example project for the objectbox-dart binding.
33
version: 0.3.0+1
44

55
environment:
6-
sdk: ^2.12.0
7-
flutter: ^2.0.0
6+
sdk: ">=2.13.0 <3.0.0"
87

98
dependencies:
109
flutter:
@@ -32,8 +31,3 @@ dependency_overrides:
3231
path: ../../../../generator
3332
objectbox_sync_flutter_libs:
3433
path: ../../../../sync_flutter_libs
35-
36-
# Temporary flutter_driver issue, same as https://github.com/flutter/flutter/issues/77282
37-
archive: ^3.0.0
38-
convert: ^3.0.0
39-
crypto: ^3.0.0

0 commit comments

Comments
 (0)