upgraded flutter to v2.10.2

This commit is contained in:
Thibault Deckers 2022-02-22 18:25:14 +09:00
parent badfa17637
commit 431b88e1d4
10 changed files with 56 additions and 27 deletions

View file

@ -15,7 +15,7 @@ jobs:
- uses: subosito/flutter-action@v1
with:
channel: stable
flutter-version: '2.10.1'
flutter-version: '2.10.2'
- name: Clone the repository.
uses: actions/checkout@v2

View file

@ -17,7 +17,7 @@ jobs:
- uses: subosito/flutter-action@v1
with:
channel: stable
flutter-version: '2.10.1'
flutter-version: '2.10.2'
# Workaround for this Android Gradle Plugin issue (supposedly fixed in AGP 4.1):
# https://issuetracker.google.com/issues/144111441
@ -52,12 +52,12 @@ jobs:
rm release.keystore.asc
mkdir outputs
(cd scripts/; ./apply_flavor_play.sh)
flutter build appbundle -t lib/main_play.dart --flavor play --bundle-sksl-path shaders_2.10.1.sksl.json
flutter build appbundle -t lib/main_play.dart --flavor play --bundle-sksl-path shaders_2.10.2.sksl.json
cp build/app/outputs/bundle/playRelease/*.aab outputs
flutter build apk -t lib/main_play.dart --flavor play --bundle-sksl-path shaders_2.10.1.sksl.json
flutter build apk -t lib/main_play.dart --flavor play --bundle-sksl-path shaders_2.10.2.sksl.json
cp build/app/outputs/apk/play/release/*.apk outputs
(cd scripts/; ./apply_flavor_izzy.sh)
flutter build apk -t lib/main_izzy.dart --flavor izzy --split-per-abi --bundle-sksl-path shaders_2.10.1.sksl.json
flutter build apk -t lib/main_izzy.dart --flavor izzy --split-per-abi --bundle-sksl-path shaders_2.10.2.sksl.json
cp build/app/outputs/apk/izzy/release/*.apk outputs
rm $AVES_STORE_FILE
env:

View file

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
## <a id="unreleased"></a>[Unreleased]
### Changed
- upgraded Flutter to stable v2.10.2
## <a id="v1.6.0"></a>[v1.6.0] - 2022-02-22
### Added

View file

@ -95,7 +95,7 @@ class AIcons {
static const IconData share = Icons.share_outlined;
static const IconData show = Icons.visibility_outlined;
static const IconData speed = Icons.speed_outlined;
static const IconData stats = Icons.pie_chart_outlined;
static const IconData stats = Icons.pie_chart_outline_outlined;
static const IconData streams = Icons.translate_outlined;
static const IconData streamVideo = Icons.movie_outlined;
static const IconData streamAudio = Icons.audiotrack_outlined;

View file

@ -119,14 +119,14 @@ packages:
name: connectivity_plus
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
version: "2.2.1"
connectivity_plus_linux:
dependency: transitive
description:
name: connectivity_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.0"
connectivity_plus_macos:
dependency: transitive
description:
@ -196,7 +196,7 @@ packages:
name: dbus
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.8"
version: "0.7.1"
decorated_icon:
dependency: "direct main"
description:
@ -210,7 +210,7 @@ packages:
name: device_info_plus
url: "https://pub.dartlang.org"
source: hosted
version: "3.2.1"
version: "3.2.2"
device_info_plus_linux:
dependency: transitive
description:
@ -340,7 +340,7 @@ packages:
name: flex_color_picker
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
version: "2.3.0"
fluster:
dependency: "direct main"
description:
@ -489,7 +489,7 @@ packages:
name: http_multi_server
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
version: "3.2.0"
http_parser:
dependency: transitive
description:
@ -503,7 +503,7 @@ packages:
name: image
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.1"
version: "3.1.3"
intl:
dependency: "direct main"
description:
@ -622,7 +622,7 @@ packages:
name: nm
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.4"
version: "0.5.0"
node_preamble:
dependency: transitive
description:
@ -650,7 +650,7 @@ packages:
name: package_info_plus
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "1.4.0"
package_info_plus_linux:
dependency: transitive
description:
@ -692,7 +692,7 @@ packages:
name: palette_generator
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.2"
version: "0.3.3"
panorama:
dependency: "direct main"
description:
@ -755,7 +755,21 @@ packages:
name: permission_handler
url: "https://pub.dartlang.org"
source: hosted
version: "8.3.0"
version: "9.2.0"
permission_handler_android:
dependency: transitive
description:
name: permission_handler_android
url: "https://pub.dartlang.org"
source: hosted
version: "9.0.2"
permission_handler_apple:
dependency: transitive
description:
name: permission_handler_apple
url: "https://pub.dartlang.org"
source: hosted
version: "9.0.2"
permission_handler_platform_interface:
dependency: transitive
description:
@ -763,6 +777,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.7.0"
permission_handler_windows:
dependency: transitive
description:
name: permission_handler_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
petitparser:
dependency: transitive
description:
@ -895,7 +916,7 @@ packages:
name: shared_preferences_ios
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.10"
version: "2.1.0"
shared_preferences_linux:
dependency: transitive
description:
@ -1112,7 +1133,7 @@ packages:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.18"
version: "6.0.20"
url_launcher_android:
dependency: transitive
description:
@ -1133,14 +1154,14 @@ packages:
name: url_launcher_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "3.0.0"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "3.0.0"
url_launcher_platform_interface:
dependency: transitive
description:
@ -1161,7 +1182,7 @@ packages:
name: url_launcher_windows
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "3.0.0"
vector_math:
dependency: transitive
description:
@ -1210,7 +1231,7 @@ packages:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.11"
version: "2.4.1"
wkt_parser:
dependency: transitive
description:

View file

@ -26,7 +26,7 @@ dependencies:
collection:
connectivity_plus:
country_code:
# TODO TLAD as of 2022/01/30, null safe version is pre-release
# TODO TLAD as of 2022/02/22, null safe version is pre-release
custom_rounded_rectangle_border: '>=0.2.0-nullsafety.0'
decorated_icon:
device_info_plus:
@ -54,7 +54,7 @@ dependencies:
overlay_support:
package_info_plus:
palette_generator:
# TODO TLAD as of 2022/01/30, latest version (v0.4.1) has this issue: https://github.com/zesage/panorama/issues/25
# TODO TLAD as of 2022/02/22, latest version (v0.4.1) has this issue: https://github.com/zesage/panorama/issues/25
panorama: 0.4.0
pdf:
percent_indicator:
@ -63,7 +63,7 @@ dependencies:
provider:
screen_brightness:
shared_preferences:
# TODO TLAD as of 2022/02/12, latest version (v2.0.11) fails to load from analysis service (target wrong channel?)
# TODO TLAD as of 2022/02/22, latest version (v2.0.11) fails to load from analysis service (target wrong channel?)
shared_preferences_android: 2.0.10
sqflite:
streams_channel:

File diff suppressed because one or more lines are too long

1
shaders_2.10.2.sksl.json Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,7 @@
import 'dart:ui';
import 'package:aves/main_play.dart' as app;
import 'package:aves/model/settings/defaults.dart';
import 'package:aves/model/settings/enums/enums.dart';
import 'package:aves/model/settings/settings.dart';
import 'package:flutter_driver/driver_extension.dart';
@ -19,6 +20,8 @@ Future<void> configureAndLaunch() async {
..locale = const Locale('en')
..keepScreenOn = KeepScreenOn.always
..homePage = HomePageSetting.collection
// collection
..collectionBrowsingQuickActions = SettingsDefaults.collectionBrowsingQuickActions
// viewer
..imageBackground = EntryBackground.checkered
// info

View file

@ -19,6 +19,7 @@ extension ExtraFlutterDriver on FlutterDriver {
Future<void> scanMediaDir(String dir) async {
await tapKeyAndWait('appbar-leading-button');
await scroll(find.byValueKey('drawer-settings-button'), 0, -500, const Duration(milliseconds: 500));
await tapKeyAndWait('drawer-debug');
await tapKeyAndWait('appbar-menu-button');