Skip to content

An open-source cross-platform alternative to AirDrop

fix: post Flutter 3.16 migration

Tien Do Nama6e71f54e2b3
diff --git a/app/android/app/build.gradle b/app/android/app/build.gradle
index 60da720b..4a555864 100644
--- a/app/android/app/build.gradle
+++ b/app/android/app/build.gradle
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
- compileSdkVersion 33
+ compileSdkVersion 34
ndkVersion flutter.ndkVersion
compileOptions {
@@ -48,7 +48,7 @@ android {
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 21
- targetSdkVersion 33
+ targetSdkVersion 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
diff --git a/app/ios/Podfile.lock b/app/ios/Podfile.lock
index 3e0d98a5..8e46c88f 100644
--- a/app/ios/Podfile.lock
+++ b/app/ios/Podfile.lock
@@ -194,8 +194,8 @@ SPEC CHECKSUMS:
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
system_settings: 8f5cdbfa72c677fc8d665b863bcc20d393d87e9d
- url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4
- video_player_avfoundation: 8563f13d8fc8b2c29dc2d09e60b660e4e8128837
+ url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b
+ video_player_avfoundation: e9e6f9cae7d7a6d9b43519b0aab382bca60fcfd1
wakelock_plus: 8b09852c8876491e4b6d179e17dfe2a0b5f60d47
PODFILE CHECKSUM: 21810dec9c7360014fbaacf030d9237ce547b1ed
diff --git a/app/lib/pages/progress_page.dart b/app/lib/pages/progress_page.dart
index 040eb674..bd0e89d4 100644
--- a/app/lib/pages/progress_page.dart
+++ b/app/lib/pages/progress_page.dart
@@ -150,8 +150,16 @@ class _ProgressPageState extends State<ProgressPage> with Refena {
speedInBytes = null;
}
- return WillPopScope(
- onWillPop: _onWillPop,
+ return PopScope(
+ canPop: false,
+ onPopInvoked: (bool didPop) async {
+ if (didPop) {
+ return;
+ }
+ if (await _onWillPop() && mounted) {
+ context.pop();
+ }
+ },
child: Scaffold(
appBar: widget.showAppBar
? AppBar(
diff --git a/app/lib/pages/receive_page.dart b/app/lib/pages/receive_page.dart
index 9fbc8f62..3e8be2f6 100644
--- a/app/lib/pages/receive_page.dart
+++ b/app/lib/pages/receive_page.dart
@@ -77,10 +77,11 @@ class _ReceivePageState extends State<ReceivePage> with Refena {
final selectedFiles = ref.watch(selectedReceivingFilesProvider);
final colorMode = ref.watch(settingsProvider.select((state) => state.colorMode));
- return WillPopScope(
- onWillPop: () async {
- _decline();
- return true;
+ return PopScope(
+ onPopInvoked: (bool didPop) {
+ if (didPop) {
+ _decline();
+ }
},
child: Scaffold(
body: SafeArea(
@@ -258,8 +259,11 @@ class _ReceivePageState extends State<ReceivePage> with Refena {
ElevatedButton.icon(
style: ElevatedButton.styleFrom(
elevation: colorMode == ColorMode.yaru ? 0 : null,
- backgroundColor: colorMode == ColorMode.yaru ? Theme.of(context).colorScheme.background : Theme.of(context).colorScheme.error,
- foregroundColor: colorMode == ColorMode.yaru ? Theme.of(context).colorScheme.onBackground : Theme.of(context).colorScheme.onError,
+ backgroundColor:
+ colorMode == ColorMode.yaru ? Theme.of(context).colorScheme.background : Theme.of(context).colorScheme.error,
+ foregroundColor: colorMode == ColorMode.yaru
+ ? Theme.of(context).colorScheme.onBackground
+ : Theme.of(context).colorScheme.onError,
),
onPressed: () {
_decline();
diff --git a/app/lib/pages/send_page.dart b/app/lib/pages/send_page.dart
index fc3dda8a..7fc81c5e 100644
--- a/app/lib/pages/send_page.dart
+++ b/app/lib/pages/send_page.dart
@@ -58,12 +58,11 @@ class _SendPageState extends State<SendPage> with Refena {
final myDevice = ref.watch(deviceFullInfoProvider);
final waiting = sendState?.status == SessionStatus.waiting;
- return WillPopScope(
- onWillPop: () async {
- if (widget.closeSessionOnClose) {
+ return PopScope(
+ onPopInvoked: (bool didPop) {
+ if (didPop && widget.closeSessionOnClose) {
_cancel();
}
- return true;
},
child: Scaffold(
appBar: widget.showAppBar ? AppBar() : null,
diff --git a/app/lib/pages/web_send_page.dart b/app/lib/pages/web_send_page.dart
index f194298f..82df0e6c 100644
--- a/app/lib/pages/web_send_page.dart
+++ b/app/lib/pages/web_send_page.dart
@@ -12,6 +12,7 @@ import 'package:localsend_app/util/ui/snackbar.dart';
import 'package:localsend_app/widget/dialogs/qr_dialog.dart';
import 'package:localsend_app/widget/responsive_list_view.dart';
import 'package:refena_flutter/refena_flutter.dart';
+import 'package:routerino/routerino.dart';
enum _ServerState { initializing, running, error, stopping }
@@ -72,15 +73,20 @@ class _WebSendPageState extends State<WebSendPage> with Refena {
@override
Widget build(BuildContext context) {
- return WillPopScope(
- onWillPop: () async {
- setState(() {
- _stateEnum = _ServerState.stopping;
- });
- await sleepAsync(250);
- await _revertServerState();
- await sleepAsync(250);
- return Future.value(true);
+ return PopScope(
+ canPop: false,
+ onPopInvoked: (didPop) async {
+ if (didPop && mounted) {
+ setState(() {
+ _stateEnum = _ServerState.stopping;
+ });
+ await sleepAsync(250);
+ await _revertServerState();
+ await sleepAsync(250);
+ if (mounted) {
+ context.pop();
+ }
+ }
},
child: Scaffold(
appBar: AppBar(
diff --git a/app/lib/widget/dialogs/loading_dialog.dart b/app/lib/widget/dialogs/loading_dialog.dart
index 5dbb0f11..b8ef3c1d 100644
--- a/app/lib/widget/dialogs/loading_dialog.dart
+++ b/app/lib/widget/dialogs/loading_dialog.dart
@@ -5,9 +5,9 @@ class LoadingDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
- return WillPopScope(
- onWillPop: () => Future.value(false),
- child: const Center(
+ return const PopScope(
+ canPop: false,
+ child: Center(
child: CircularProgressIndicator(),
),
);
diff --git a/app/macos/Podfile.lock b/app/macos/Podfile.lock
index def53945..14c86d6b 100644
--- a/app/macos/Podfile.lock
+++ b/app/macos/Podfile.lock
@@ -140,7 +140,7 @@ SPEC CHECKSUMS:
system_tray: e53c972838c69589ff2e77d6d3abfd71332f9e5d
tray_manager: 9064e219c56d75c476e46b9a21182087930baf90
url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95
- video_player_avfoundation: 8563f13d8fc8b2c29dc2d09e60b660e4e8128837
+ video_player_avfoundation: e9e6f9cae7d7a6d9b43519b0aab382bca60fcfd1
wakelock_plus: 4783562c9a43d209c458cb9b30692134af456269
window_manager: 3a1844359a6295ab1e47659b1a777e36773cd6e8
diff --git a/app/pubspec.lock b/app/pubspec.lock
index 7ec94655..4016be14 100644
--- a/app/pubspec.lock
+++ b/app/pubspec.lock
@@ -5,34 +5,34 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
- sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a
+ sha256: eb376e9acf6938204f90eb3b1f00b578640d3188b4c8a8ec054f9f479af8d051
url: "https://pub.dev"
source: hosted
- version: "61.0.0"
+ version: "64.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
- sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562
+ sha256: "69f54f967773f6c26c7dcb13e93d7ccee8b17a641689da39e878d5cf13b06893"
url: "https://pub.dev"
source: hosted
- version: "5.13.0"
+ version: "6.2.0"
ansicolor:
dependency: transitive
description:
name: ansicolor
- sha256: "607f8fa9786f392043f169898923e6c59b4518242b68b8862eb8a8b7d9c30b4a"
+ sha256: "8bf17a8ff6ea17499e40a2d2542c2f481cd7615760c6d34065cb22bfd22e6880"
url: "https://pub.dev"
source: hosted
- version: "2.0.1"
+ version: "2.0.2"
archive:
dependency: transitive
description:
name: archive
- sha256: "49b1fad315e57ab0bbc15bcbb874e83116a1d78f77ebd500a4af6c9407d6b28e"
+ sha256: "7b875fd4a20b165a3084bd2d210439b22ebc653f21cea4842729c0c30c82596b"
url: "https://pub.dev"
source: hosted
- version: "3.3.8"
+ version: "3.4.9"
args:
dependency: transitive
description:
@@ -85,18 +85,18 @@ packages:
dependency: transitive
description:
name: build_daemon
- sha256: "5f02d73eb2ba16483e693f80bee4f088563a820e47d1027d4cdfe62b5bb43e65"
+ sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1"
url: "https://pub.dev"
source: hosted
- version: "4.0.0"
+ version: "4.0.1"
build_resolvers:
dependency: transitive
description:
name: build_resolvers
- sha256: a7417cc44d9edb3f2c8760000270c99dba8c72ff66d0146772b8326565780745
+ sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8"
url: "https://pub.dev"
source: hosted
- version: "2.3.1"
+ version: "2.4.1"
build_runner:
dependency: "direct dev"
description:
@@ -109,10 +109,10 @@ packages:
dependency: transitive
description:
name: build_runner_core
- sha256: "6d6ee4276b1c5f34f21fdf39425202712d2be82019983d52f351c94aafbc2c41"
+ sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185
url: "https://pub.dev"
source: hosted
- version: "7.2.10"
+ version: "7.2.11"
built_collection:
dependency: transitive
description:
@@ -125,10 +125,10 @@ packages:
dependency: transitive
description:
name: built_value
- sha256: ff627b645b28fb8bdb69e645f910c2458fd6b65f6585c3a53e0626024897dedf
+ sha256: "69acb7007eb2a31dc901512bfe0f7b767168be34cb734835d54c070bfa74c1b2"
url: "https://pub.dev"
source: hosted
- version: "8.6.2"
+ version: "8.8.0"
characters:
dependency: transitive
description:
@@ -165,10 +165,10 @@ packages:
dependency: transitive
description:
name: code_builder
- sha256: "315a598c7fbe77f22de1c9da7cfd6fd21816312f16ffa124453b4fc679e540f1"
+ sha256: b2151ce26a06171005b379ecff6e08d34c470180ffe16b8e14b6d52be292b55f
url: "https://pub.dev"
source: hosted
- version: "4.6.0"
+ version: "4.8.0"
collection:
dependency: "direct main"
description:
@@ -228,18 +228,18 @@ packages:
dependency: transitive
description:
name: coverage
- sha256: "2fb815080e44a09b85e0f2ca8a820b15053982b2e714b59267719e8a9ff17097"
+ sha256: ac86d3abab0f165e4b8f561280ff4e066bceaac83c424dd19f1ae2c2fcd12ca9
url: "https://pub.dev"
source: hosted
- version: "1.6.3"
+ version: "1.7.1"
cross_file:
dependency: transitive
description:
name: cross_file
- sha256: fd832b5384d0d6da4f6df60b854d33accaaeb63aa9e10e736a87381f08dee2cb
+ sha256: "2f9d2cbccb76127ba28528cb3ae2c2326a122446a83de5a056aaa3880d3882c5"
url: "https://pub.dev"
source: hosted
- version: "0.3.3+5"
+ version: "0.3.3+7"
crypto:
dependency: transitive
description:
@@ -260,10 +260,10 @@ packages:
dependency: transitive
description:
name: csv
- sha256: "016b31a51a913744a0a1655c74ff13c9379e1200e246a03d96c81c5d9ed297b5"
+ sha256: "63ed2871dd6471193dffc52c0e6c76fb86269c00244d244297abbb355c84a86e"
url: "https://pub.dev"
source: hosted
- version: "5.0.2"
+ version: "5.1.1"
dart_mappable:
dependency: "direct main"
description:
@@ -284,10 +284,10 @@ packages:
dependency: transitive
description:
name: dart_style
- sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55"
+ sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368"
url: "https://pub.dev"
source: hosted
- version: "2.3.2"
+ version: "2.3.4"
dartx:
dependency: transitive
description:
@@ -300,10 +300,10 @@ packages:
dependency: transitive
description:
name: dbus
- sha256: "6f07cba3f7b3448d42d015bfd3d53fe12e5b36da2423f23838efc1d5fb31a263"
+ sha256: "365c771ac3b0e58845f39ec6deebc76e3276aa9922b0cc60840712094d9047ac"
url: "https://pub.dev"
source: hosted
- version: "0.7.8"
+ version: "0.7.10"
desktop_drop:
dependency: "direct main"
description:
@@ -356,18 +356,18 @@ packages:
dependency: transitive
description:
name: extended_image
- sha256: b4d72a27851751cfadaf048936d42939db7cd66c08fdcfe651eeaa1179714ee6
+ sha256: d7f091d068fcac7246c4b22a84b8dac59a62e04d29a5c172710c696e67a22f94
url: "https://pub.dev"
source: hosted
- version: "8.1.1"
+ version: "8.2.0"
extended_image_library:
dependency: transitive
description:
name: extended_image_library
- sha256: "8bf87c0b14dcb59200c923a9a3952304e4732a0901e40811428834ef39018ee1"
+ sha256: "9b55fc5ebc65fad984de66b8f177a1bef2a84d79203c9c213f75ff83c2c29edd"
url: "https://pub.dev"
source: hosted
- version: "3.6.0"
+ version: "4.0.1"
fake_async:
dependency: transitive
description:
@@ -388,10 +388,10 @@ packages:
dependency: transitive
description:
name: file
- sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
+ sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
url: "https://pub.dev"
source: hosted
- version: "6.1.4"
+ version: "7.0.0"
file_picker:
dependency: "direct main"
description:
@@ -412,18 +412,18 @@ packages:
dependency: transitive
description:
name: file_selector_android
- sha256: d41e165d6f798ca941d536e5dc93494d50e78c571c28ad60cfe0b0fefeb9f1e7
+ sha256: b7556052dbcc25ef88f6eba45ab98aa5600382af8dfdabc9d644a93d97b7be7f
url: "https://pub.dev"
source: hosted
- version: "0.5.0+3"
+ version: "0.5.0+4"
file_selector_ios:
dependency: transitive
description:
name: file_selector_ios
- sha256: b3fbdda64aa2e335df6e111f6b0f1bb968402ed81d2dd1fa4274267999aa32c2
+ sha256: "2f48db7e338b2255101c35c604b7ca5ab588dce032db7fc418a2fe5f28da63f8"
url: "https://pub.dev"
source: hosted
- version: "0.5.1+6"
+ version: "0.5.1+7"
file_selector_linux:
dependency: transitive
description:
@@ -436,10 +436,10 @@ packages:
dependency: transitive
description:
name: file_selector_macos
- sha256: "182c3f8350cee659f7b115e956047ee3dc672a96665883a545e81581b9a82c72"
+ sha256: b15c3da8bd4908b9918111fa486903f5808e388b8d1c559949f584725a6594d6
url: "https://pub.dev"
source: hosted
- version: "0.9.3+2"
+ version: "0.9.3+3"
file_selector_platform_interface:
dependency: transitive
description:
@@ -452,10 +452,10 @@ packages:
dependency: transitive
description:
name: file_selector_web
- sha256: dc6622c4d66cb1bee623ddcc029036603c6cc45c85e4a775bb06008d61c809c1
+ sha256: c0f025d460de3301b7bbbf837fc8d0759df85f182c635f1dd94934b4cdc92352
url: "https://pub.dev"
source: hosted
- version: "0.9.2+1"
+ version: "0.9.3"
file_selector_windows:
dependency: transitive
description:
@@ -526,10 +526,10 @@ packages:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
- sha256: f185ac890306b5779ecbd611f52502d8d4d63d27703ef73161ca0407e815f02c
+ sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da
url: "https://pub.dev"
source: hosted
- version: "2.0.16"
+ version: "2.0.17"
flutter_test:
dependency: transitive
description: flutter
@@ -560,10 +560,10 @@ packages:
dependency: transitive
description:
name: get_it
- sha256: "66c270f23f1b49d3af9c6651d8c40367319f4abefffc23380e4e7c5efd9fe4a7"
+ sha256: f79870884de16d689cf9a7d15eedf31ed61d750e813c538a6efb92660fea83c3
url: "https://pub.dev"
source: hosted
- version: "7.6.2"
+ version: "7.6.4"
glob:
dependency: transitive
description:
@@ -600,10 +600,10 @@ packages:
dependency: transitive
description:
name: http
- sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525"
+ sha256: d4872660c46d929f6b8a9ef4e7a7eff7e49bbf0c4ec3f385ee32df5119175139
url: "https://pub.dev"
source: hosted
- version: "1.1.0"
+ version: "1.1.2"
http_client_helper:
dependency: transitive
description:
@@ -640,10 +640,10 @@ packages:
dependency: transitive
description:
name: image
- sha256: a72242c9a0ffb65d03de1b7113bc4e189686fc07c7147b8b41811d0dd0e0d9bf
+ sha256: "028f61960d56f26414eb616b48b04eb37d700cbe477b7fb09bf1d7ce57fd9271"
url: "https://pub.dev"
source: hosted
- version: "4.0.17"
+ version: "4.1.3"
image_picker:
dependency: "direct main"
description:
@@ -656,10 +656,10 @@ packages:
dependency: transitive
description:
name: image_picker_android
- sha256: d32a997bcc4ee135aebca8e272b7c517927aa65a74b9c60a81a2764ef1a0462d
+ sha256: d6a6e78821086b0b737009b09363018309bbc6de3fd88cc5c26bc2bb44a4957f
url: "https://pub.dev"
source: hosted
- version: "0.8.7+5"
+ version: "0.8.8+2"
image_picker_for_web:
dependency: transitive
description:
@@ -672,10 +672,10 @@ packages:
dependency: transitive
description:
name: image_picker_ios
- sha256: c5538cacefacac733c724be7484377923b476216ad1ead35a0d2eadcdc0fc497
+ sha256: "76ec722aeea419d03aa915c2c96bf5b47214b053899088c9abb4086ceecf97a7"
url: "https://pub.dev"
source: hosted
- version: "0.8.8+2"
+ version: "0.8.8+4"
image_picker_linux:
dependency: transitive
description:
@@ -960,10 +960,10 @@ packages:
dependency: transitive
description:
name: path_provider_android
- sha256: "6b8b19bd80da4f11ce91b2d1fb931f3006911477cec227cce23d3253d80df3f1"
+ sha256: e595b98692943b4881b219f0a9e3945118d3c16bd7e2813f98ec6e532d905f72
url: "https://pub.dev"
source: hosted
- version: "2.2.0"
+ version: "2.2.1"
path_provider_foundation:
dependency: transitive
description:
@@ -1008,10 +1008,10 @@ packages:
dependency: transitive
description:
name: permission_handler_android
- sha256: ace7d15a3d1a4a0b91c041d01e5405df221edb9de9116525efc773c74e6fc790
+ sha256: f9fddd3b46109bd69ff3f9efa5006d2d309b7aec0f3c1c5637a60a2d5659e76e
url: "https://pub.dev"
source: hosted
- version: "11.0.5"
+ version: "11.1.0"
permission_handler_apple:
dependency: transitive
description:
@@ -1041,34 +1041,42 @@ packages:
dependency: transitive
description:
name: petitparser
- sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750
+ sha256: eeb2d1428ee7f4170e2bd498827296a18d4e7fc462b71727d111c0ac7707cfa6
url: "https://pub.dev"
source: hosted
- version: "5.4.0"
+ version: "6.0.1"
photo_manager:
- dependency: transitive
+ dependency: "direct main"
description:
name: photo_manager
- sha256: "41eaa1d1fa51bac1c8f2f6debfd34074edcc6b330aa96bb3d33c3bc2fc6c8a5c"
+ sha256: "8aca19e47804e99abec5dff8ea59c684181fb2b6ebbcdd3557a2b4fb8d5deae6"
url: "https://pub.dev"
source: hosted
- version: "2.7.2"
+ version: "3.0.0-dev.2"
+ photo_manager_image_provider:
+ dependency: transitive
+ description:
+ name: photo_manager_image_provider
+ sha256: c187f60c3fdbe5630735d9a0bccbb071397ec03dcb1ba6085c29c8adece798a0
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.0"
platform:
dependency: transitive
description:
name: platform
- sha256: ae68c7bfcd7383af3629daafb32fb4e8681c7154428da4febcff06200585f102
+ sha256: "0a279f0707af40c890e80b1e9df8bb761694c074ba7e1d4ab1bc4b728e200b59"
url: "https://pub.dev"
source: hosted
- version: "3.1.2"
+ version: "3.1.3"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
- sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d
+ sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8
url: "https://pub.dev"
source: hosted
- version: "2.1.6"
+ version: "2.1.7"
pointycastle:
dependency: transitive
description:
@@ -1097,10 +1105,10 @@ packages:
dependency: transitive
description:
name: provider
- sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f
+ sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096"
url: "https://pub.dev"
source: hosted
- version: "6.0.5"
+ version: "6.1.1"
pub_semver:
dependency: transitive
description:
@@ -1233,10 +1241,10 @@ packages:
dependency: transitive
description:
name: shared_preferences_linux
- sha256: c2eb5bf57a2fe9ad6988121609e47d3e07bb3bdca5b6f8444e4cf302428a128a
+ sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa"
url: "https://pub.dev"
source: hosted
- version: "2.3.1"
+ version: "2.3.2"
shared_preferences_platform_interface:
dependency: transitive
description:
@@ -1249,18 +1257,18 @@ packages:
dependency: transitive
description:
name: shared_preferences_web
- sha256: d762709c2bbe80626ecc819143013cc820fa49ca5e363620ee20a8b15a3e3daf
+ sha256: "7b15ffb9387ea3e237bb7a66b8a23d2147663d391cafc5c8f37b2e7b4bde5d21"
url: "https://pub.dev"
source: hosted
- version: "2.2.1"
+ version: "2.2.2"
shared_preferences_windows:
dependency: transitive
description:
name: shared_preferences_windows
- sha256: f763a101313bd3be87edffe0560037500967de9c394a714cd598d945517f694f
+ sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59"
url: "https://pub.dev"
source: hosted
- version: "2.3.1"
+ version: "2.3.2"
shared_storage:
dependency: "direct main"
description:
@@ -1519,58 +1527,58 @@ packages:
dependency: transitive
description:
name: url_launcher_android
- sha256: b04af59516ab45762b2ca6da40fa830d72d0f6045cd97744450b73493fa76330
+ sha256: "31222ffb0063171b526d3e569079cf1f8b294075ba323443fdc690842bfd4def"
url: "https://pub.dev"
source: hosted
- version: "6.1.0"
+ version: "6.2.0"
url_launcher_ios:
dependency: transitive
description:
name: url_launcher_ios
- sha256: "7c65021d5dee51813d652357bc65b8dd4a6177082a9966bc8ba6ee477baa795f"
+ sha256: bba3373219b7abb6b5e0d071b0fe66dfbe005d07517a68e38d4fc3638f35c6d3
url: "https://pub.dev"
source: hosted
- version: "6.1.5"
+ version: "6.2.1"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
- sha256: b651aad005e0cb06a01dbd84b428a301916dc75f0e7ea6165f80057fee2d8e8e
+ sha256: "9f2d390e096fdbe1e6e6256f97851e51afc2d9c423d3432f1d6a02a8a9a8b9fd"
url: "https://pub.dev"
source: hosted
- version: "3.0.6"
+ version: "3.1.0"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
- sha256: b55486791f666e62e0e8ff825e58a023fd6b1f71c49926483f1128d3bbd8fe88
+ sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234
url: "https://pub.dev"
source: hosted
- version: "3.0.7"
+ version: "3.1.0"
url_launcher_platform_interface:
dependency: transitive
description:
name: url_launcher_platform_interface
- sha256: "95465b39f83bfe95fcb9d174829d6476216f2d548b79c38ab2506e0458787618"
+ sha256: "980e8d9af422f477be6948bdfb68df8433be71f5743a188968b0c1b887807e50"
url: "https://pub.dev"
source: hosted
- version: "2.1.5"
+ version: "2.2.0"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
- sha256: "2942294a500b4fa0b918685aff406773ba0a4cd34b7f42198742a94083020ce5"
+ sha256: "138bd45b3a456dcfafc46d1a146787424f8d2edfbf2809c9324361e58f851cf7"
url: "https://pub.dev"
source: hosted
- version: "2.0.20"
+ version: "2.2.1"
url_launcher_windows:
dependency: transitive
description:
name: url_launcher_windows
- sha256: "95fef3129dc7cfaba2bc3d5ba2e16063bb561fc6d78e63eee16162bc70029069"
+ sha256: "7754a1ad30ee896b265f8d14078b0513a4dba28d358eabb9d5f339886f4a1adc"
url: "https://pub.dev"
source: hosted
- version: "3.0.8"
+ version: "3.1.0"
uuid:
dependency: "direct main"
description:
@@ -1591,10 +1599,10 @@ packages:
dependency: transitive
description:
name: video_player
- sha256: "74b86e63529cf5885130c639d74cd2f9232e7c8a66cbecbddd1dcb9dbd060d1e"
+ sha256: e16f0a83601a78d165dabc17e4dac50997604eb9e4cc76e10fa219046b70cef3
url: "https://pub.dev"
source: hosted
- version: "2.7.2"
+ version: "2.8.1"
video_player_android:
dependency: transitive
description:
@@ -1607,10 +1615,10 @@ packages:
dependency: transitive
description:
name: video_player_avfoundation
- sha256: "6387c2de77763b45104256b3b00b660089be4f909ded8631457dc11bf635e38f"
+ sha256: bc923884640d6dc403050586eb40713cdb8d1d84e6886d8aca50ab04c59124c2
url: "https://pub.dev"
source: hosted
- version: "2.5.0"
+ version: "2.5.2"
video_player_platform_interface:
dependency: transitive
description:
@@ -1623,18 +1631,18 @@ packages:
dependency: transitive
description:
name: video_player_web
- sha256: "2dd24f7ba46bfb5d070e9c795001db95e0ca5f2a3d025e98f287c10c9f0fd62f"
+ sha256: ab7a462b07d9ca80bed579e30fb3bce372468f1b78642e0911b10600f2c5cb5b
url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
vm_service:
dependency: transitive
description:
name: vm_service
- sha256: c538be99af830f478718b51630ec1b6bee5e74e52c8a802d328d9e71d35d2583
+ sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
url: "https://pub.dev"
source: hosted
- version: "11.10.0"
+ version: "13.0.0"
wakelock_plus:
dependency: "direct main"
description:
@@ -1687,26 +1695,26 @@ packages:
dependency: "direct main"
description:
name: wechat_assets_picker
- sha256: "00c93a04421013040b555cdcccdb8e90f142a171d6c0d968c2b5042a76013601"
+ sha256: "9934724a45fdb2b12e332d8190c58713e6675c37c630d53608e0f50167215c9f"
url: "https://pub.dev"
source: hosted
- version: "8.7.1"
+ version: "8.9.0-dev.1"
win32:
dependency: transitive
description:
name: win32
- sha256: "9e82a402b7f3d518fb9c02d0e9ae45952df31b9bf34d77baf19da2de03fc2aaa"
+ sha256: "7c99c0e1e2fa190b48d25c81ca5e42036d5cac81430ef249027d97b0935c553f"
url: "https://pub.dev"
source: hosted
- version: "5.0.7"
+ version: "5.1.0"
win32_registry:
dependency: transitive
description:
name: win32_registry
- sha256: e4506d60b7244251bc59df15656a3093501c37fb5af02105a944d73eb95be4c9
+ sha256: "41fd8a189940d8696b1b810efb9abcf60827b6cbfab90b0c43e8439e3a39d85a"
url: "https://pub.dev"
source: hosted
- version: "1.1.1"
+ version: "1.1.2"
window_manager:
dependency: "direct main"
description:
@@ -1727,10 +1735,10 @@ packages:
dependency: transitive
description:
name: xml
- sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84"
+ sha256: af5e77e9b83f2f4adc5d3f0a4ece1c7f45a2467b695c2540381bac793e34e556
url: "https://pub.dev"
source: hosted
- version: "6.3.0"
+ version: "6.4.2"
yaml:
dependency: transitive
description:
diff --git a/app/pubspec.yaml b/app/pubspec.yaml
index f817bed1..735e7e70 100644
--- a/app/pubspec.yaml
+++ b/app/pubspec.yaml
@@ -43,6 +43,10 @@ dependencies:
path: 1.8.3
path_provider: 2.1.1
permission_handler: 11.0.1
+
+ # Remove this when wechat_assets_picker is updated to 8.9.0
+ photo_manager: 3.0.0-dev.2
+
pretty_qr_code: 2.0.3
refena_flutter: 1.5.0
refena_inspector_client: 1.2.0
@@ -66,7 +70,7 @@ dependencies:
url_launcher: 6.1.14
uuid: 3.0.7
wakelock_plus: 1.1.3
- wechat_assets_picker: 8.7.1
+ wechat_assets_picker: 8.9.0-dev.1
window_manager: 0.3.7
yaru: 1.2.0