An open-source cross-platform alternative to AirDrop
deps: bump dependencies
Tien Do Namdb859b9464c9
diff --git a/lib/main.dart b/lib/main.dartindex 14c97dc6..067bc237 100644--- a/lib/main.dart+++ b/lib/main.dart@@ -27,7 +27,7 @@ Future<void> main(List<String> args) async {WidgetsFlutterBinding.ensureInitialized();final (persistenceService, startHidden) = await preInit(args);final scope = RiverpieScope(- observer: kDebugMode ? CustomRiverpieDebugObserver() : null,+ observer: kDebugMode ? CustomRiverpieObserver() : null,overrides: [persistenceProvider.overrideWithValue(persistenceService),deviceRawInfoProvider.overrideWithValue(await getDeviceInfo()),diff --git a/lib/pages/debug/debug_page.dart b/lib/pages/debug/debug_page.dartindex f8a2560f..3aa4ef69 100644--- a/lib/pages/debug/debug_page.dart+++ b/lib/pages/debug/debug_page.dart@@ -42,18 +42,23 @@ class DebugPage extends StatelessWidget {spacing: 10,runSpacing: 10,children: [- ElevatedButton(+ FilledButton(onPressed: () async => context.push(() => const SecurityDebugPage()),child: const Text('Security'),),- ElevatedButton(+ FilledButton(onPressed: () async => context.push(() => const DiscoveryDebugPage()),child: const Text('Discovery'),),- ElevatedButton(+ FilledButton(onPressed: () async => context.push(() => const HttpLogsPage()),child: const Text('HTTP Logs'),),+ if (kDebugMode)+ FilledButton(+ onPressed: () async => context.push(() => const RiverpieTracingPage()),+ child: const Text('Riverpie Tracing'),+ ),],),],diff --git a/lib/riverpie.dart b/lib/riverpie.dartindex e3cfa439..27e93225 100644--- a/lib/riverpie.dart+++ b/lib/riverpie.dart@@ -6,15 +6,26 @@ import 'package:riverpie_flutter/riverpie_flutter.dart';final _logger = Logger('Riverpie');-class CustomRiverpieDebugObserver extends RiverpieDebugObserver {- CustomRiverpieDebugObserver()- : super(- onLine: (line) => _logger.info(line),- exclude: (event) {- return event is ChangeEvent &&- (event.notifier.runtimeType == DiscoveryLogsNotifier ||- event.notifier.runtimeType == NetworkStateNotifier ||- event.notifier.runtimeType == ProgressNotifier);- },- );+class CustomRiverpieObserver extends RiverpieMultiObserver {+ CustomRiverpieObserver()+ : super(observers: [+ RiverpieDebugObserver(+ onLine: (line) => _logger.info(line),+ exclude: (event) {+ return event is ChangeEvent &&+ (event.notifier.runtimeType == DiscoveryLogsNotifier ||+ event.notifier.runtimeType == NetworkStateNotifier ||+ event.notifier.runtimeType == ProgressNotifier);+ },+ ),+ RiverpieTracingObserver(+ limit: 100,+ exclude: (event) {+ return event is ChangeEvent &&+ (event.notifier.runtimeType == DiscoveryLogsNotifier ||+ event.notifier.runtimeType == NetworkStateNotifier ||+ event.notifier.runtimeType == ProgressNotifier);+ },+ ),+ ]);}diff --git a/pubspec.lock b/pubspec.lockindex 1d323d0d..e349eeb9 100644--- a/pubspec.lock+++ b/pubspec.lock@@ -785,9 +785,9 @@ packages:dependency: "direct main"description:path: "packages/network_info_plus/network_info_plus"- ref: "646655dd27facd2ac61e9b9557c6f4b0c6b966a9"- resolved-ref: "646655dd27facd2ac61e9b9557c6f4b0c6b966a9"- url: "https://github.com/Tienisto/plus_plugins.git"+ ref: ab6e6b52ff456fa4b6f8c5a8e2cf7df5a1dd1f4e+ resolved-ref: ab6e6b52ff456fa4b6f8c5a8e2cf7df5a1dd1f4e+ url: "https://github.com/fluttercommunity/plus_plugins.git"source: gitversion: "4.0.2"network_info_plus_platform_interface:@@ -1035,18 +1035,18 @@ packages:dependency: transitivedescription:name: riverpie- sha256: db9f2d137d0f56fa5f913ac82280548061179c40d2686f4f4c61778daedb0a19+ sha256: "401152270cbc3ac4c0ee9a47542291b1eb6b18156433738058527ba791bc3fed"url: "https://pub.dev"source: hosted- version: "0.16.0"+ version: "0.18.0"riverpie_flutter:dependency: "direct main"description:name: riverpie_flutter- sha256: e2d905baceec574fd111f5e52c881a4d860239e7693bd756341c7ec5bfba95d2+ sha256: c857ca7714a89f04c070da6826dd73c41a6bfda62769a1f6aab899dcccec696burl: "https://pub.dev"source: hosted- version: "0.16.0"+ version: "0.18.0"routerino:dependency: "direct main"description:@@ -1059,10 +1059,10 @@ packages:dependency: "direct main"description:name: screen_retriever- sha256: "4931f226ca158123ccd765325e9fbf360bfed0af9b460a10f960f9bb13d58323"+ sha256: "6ee02c8a1158e6dae7ca430da79436e3b1c9563c8cf02f524af997c201ac2b90"url: "https://pub.dev"source: hosted- version: "0.1.6"+ version: "0.1.9"share_handler:dependency: "direct main"description:@@ -1592,12 +1592,11 @@ packages:window_manager:dependency: "direct main"description:- path: "."- ref: "159a3ee305bbaf9e03a54b8e5315f76616a64a4a"- resolved-ref: "159a3ee305bbaf9e03a54b8e5315f76616a64a4a"- url: "https://github.com/Tienisto/window_manager.git"- source: git- version: "0.3.5"+ name: window_manager+ sha256: "6ee795be9124f90660ea9d05e581a466de19e1c89ee74fc4bf528f60c8600edd"+ url: "https://pub.dev"+ source: hosted+ version: "0.3.6"xdg_directories:dependency: transitivedescription:diff --git a/pubspec.yaml b/pubspec.yamlindex 7601235c..97807fa8 100644--- a/pubspec.yaml+++ b/pubspec.yaml@@ -11,7 +11,7 @@ environment:dependencies:basic_utils: 5.6.1- collection: 1.17.1+ collection: ^1.17.1 # allow newer versions, so it can compile with newer Flutter versionsconnectivity_plus: 4.0.2desktop_drop: 0.4.1device_apps: 2.2.0@@ -27,7 +27,7 @@ dependencies:freezed_annotation: 2.4.1gal: 1.8.6image_picker: 1.0.2- intl: ^0.18.0 # allow newer versions so it can compile with newer Flutter versions+ intl: ^0.18.0 # allow newer versions, so it can compile with newer Flutter versionsjson_annotation: 4.8.1launch_at_startup: 0.2.2logging: 1.2.0@@ -39,9 +39,9 @@ dependencies:path_provider: 2.1.0permission_handler: 10.4.3pretty_qr_code: 2.0.3- riverpie_flutter: 0.16.0+ riverpie_flutter: 0.18.0routerino: 0.8.0- screen_retriever: 0.1.6+ screen_retriever: 0.1.9share_handler: 0.0.17shared_preferences: 2.2.0shared_storage: 0.8.0@@ -61,7 +61,7 @@ dependencies:uuid: 3.0.7wakelock_plus: 1.1.1wechat_assets_picker: 8.6.3- window_manager: 0.3.5+ window_manager: 0.3.6dev_dependencies:build_runner: 2.4.6@@ -78,20 +78,15 @@ dependency_overrides:network_info_plus:# https://github.com/fluttercommunity/plus_plugins/pull/2101git:- url: https://github.com/Tienisto/plus_plugins.git+ url: https://github.com/fluttercommunity/plus_plugins.gitpath: packages/network_info_plus/network_info_plus- ref: 646655dd27facd2ac61e9b9557c6f4b0c6b966a9+ ref: ab6e6b52ff456fa4b6f8c5a8e2cf7df5a1dd1f4epermission_handler_windows:# Remove windows support as it causes trouble with Windows 7# https://github.com/Baseflow/flutter-permission-handler/issues/1034git:url: https://github.com/localsend/permission_handler_windows_noop.gitref: fc09b707ab4535a9214c87b16f09feda7e765d90- window_manager:- # https://github.com/leanflutter/window_manager/pull/388- git:- url: https://github.com/Tienisto/window_manager.git- ref: 159a3ee305bbaf9e03a54b8e5315f76616a64a4aflutter:uses-material-design: true