Skip to content

Commit 4d2de12

Browse files
authored
👷 Try to run on minimum SDK requirement (#643)
1 parent de46826 commit 4d2de12

File tree

5 files changed

+25
-6
lines changed

5 files changed

+25
-6
lines changed

.github/workflows/runnable.yml

+16-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@ on:
1212
paths-ignore:
1313
- "**.md"
1414

15+
env:
16+
MINIMUM_FLUTTER_VERSION: '3.16.0'
17+
1518
jobs:
1619
analyze:
17-
name: Analyze on ${{ matrix.os }}
20+
name: Analyze on ${{ matrix.os }} with ${{ matrix.flutter-version }} Flutter
1821
runs-on: ${{ matrix.os }}
1922
strategy:
2023
matrix:
2124
os: [ ubuntu-latest ]
25+
flutter-version: [ min, latest ]
2226
steps:
2327
- uses: actions/checkout@v4
2428
- uses: actions/setup-java@v4
@@ -28,6 +32,7 @@ jobs:
2832
- uses: subosito/flutter-action@v2
2933
with:
3034
channel: 'stable'
35+
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
3136
- name: Log Dart/Flutter versions
3237
run: |
3338
dart --version
@@ -47,8 +52,11 @@ jobs:
4752
4853
test_iOS:
4954
needs: analyze
50-
name: Test iOS
55+
name: Test iOS with ${{ matrix.flutter-version }} Flutter
5156
runs-on: macos-latest
57+
strategy:
58+
matrix:
59+
flutter-version: [ min, latest ]
5260
steps:
5361
- uses: actions/checkout@v4
5462
- uses: actions/setup-java@v4
@@ -58,15 +66,19 @@ jobs:
5866
- uses: subosito/[email protected]
5967
with:
6068
channel: stable
69+
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
6170
- run: dart --version
6271
- run: flutter --version
6372
- run: flutter pub get
6473
- run: cd example; flutter build ios --no-codesign
6574

6675
test_android:
6776
needs: analyze
68-
name: Test Android
77+
name: Test Android with ${{ matrix.flutter-version }} Flutter
6978
runs-on: ubuntu-latest
79+
strategy:
80+
matrix:
81+
flutter-version: [ min, latest ]
7082
steps:
7183
- uses: actions/checkout@v4
7284
- uses: actions/setup-java@v4
@@ -76,6 +88,7 @@ jobs:
7688
- uses: subosito/[email protected]
7789
with:
7890
channel: stable
91+
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
7992
- run: dart --version
8093
- run: flutter --version
8194
- run: flutter pub get

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ that can be found in the LICENSE file. -->
1111

1212
*None.*
1313

14+
## 9.3.3
15+
16+
### Fixes
17+
18+
- Recovers the compatibility with Flutter 3.16.
19+
1420
## 9.3.2
1521

1622
### Improvements

example/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: wechat_assets_picker_demo
22
description: The demo project for the wechat_assets_picker package.
3-
version: 9.3.2+60
3+
version: 9.3.3+61
44
publish_to: none
55

66
environment:

lib/src/delegates/asset_picker_builder_delegate.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1500,11 +1500,11 @@ class DefaultAssetPickerBuilderDelegate
15001500
hint += ', ${asset.title}';
15011501
}
15021502
return Semantics(
1503+
key: ValueKey('${asset.id}-semantics'),
15031504
button: false,
15041505
enabled: !isBanned,
15051506
excludeSemantics: true,
15061507
focusable: !isSwitchingPath,
1507-
identifier: asset.id,
15081508
label: '${semanticsTextDelegate.semanticTypeLabel(asset.type)}'
15091509
'${semanticIndex(index)}, '
15101510
'${asset.createDateTime.toString().replaceAll('.000', '')}',

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: wechat_assets_picker
2-
version: 9.3.2
2+
version: 9.3.3
33
description: |
44
An image picker (also with videos and audio)
55
for Flutter projects based on WeChat's UI,

0 commit comments

Comments
 (0)