Merge branch 'krille/update-deps' into 'main'

chore: Update dependencies

See merge request famedly/fluffychat!1023
This commit is contained in:
Krille Fear 2022-11-03 14:51:22 +00:00
commit d50fb9e73f
7 changed files with 19 additions and 75 deletions

View File

@ -398,7 +398,7 @@ class ChatController extends State<Chat> {
void voiceMessageAction() async { void voiceMessageAction() async {
if (PlatformInfos.isAndroid) { if (PlatformInfos.isAndroid) {
final info = await DeviceInfoPlugin().androidInfo; final info = await DeviceInfoPlugin().androidInfo;
if ((info.version.sdkInt ?? 16) < 19) { if (info.version.sdkInt < 19) {
showOkAlertDialog( showOkAlertDialog(
context: context, context: context,
title: L10n.of(context)!.unsupportedAndroidVersion, title: L10n.of(context)!.unsupportedAndroidVersion,
@ -961,7 +961,7 @@ class ChatController extends State<Chat> {
// VoIP required Android SDK 21 // VoIP required Android SDK 21
if (PlatformInfos.isAndroid) { if (PlatformInfos.isAndroid) {
DeviceInfoPlugin().androidInfo.then((value) { DeviceInfoPlugin().androidInfo.then((value) {
if ((value.version.sdkInt ?? 16) < 21) { if (value.version.sdkInt < 21) {
Navigator.pop(context); Navigator.pop(context);
showOkAlertDialog( showOkAlertDialog(
context: context, context: context,

View File

@ -86,7 +86,7 @@ class NewPrivateChatController extends State<NewPrivateChat> {
void openScannerAction() async { void openScannerAction() async {
if (PlatformInfos.isAndroid) { if (PlatformInfos.isAndroid) {
final info = await DeviceInfoPlugin().androidInfo; final info = await DeviceInfoPlugin().androidInfo;
if ((info.version.sdkInt ?? 16) < 21) { if (info.version.sdkInt < 21) {
ScaffoldMessenger.of(context).showSnackBar( ScaffoldMessenger.of(context).showSnackBar(
SnackBar( SnackBar(
content: Text( content: Text(

View File

@ -6,10 +6,10 @@ import FlutterMacOS
import Foundation import Foundation
import audio_session import audio_session
import connectivity_plus_macos import connectivity_plus
import desktop_drop import desktop_drop
import desktop_lifecycle import desktop_lifecycle
import device_info_plus_macos import device_info_plus
import emoji_picker_flutter import emoji_picker_flutter
import flutter_local_notifications import flutter_local_notifications
import flutter_secure_storage_macos import flutter_secure_storage_macos

View File

@ -203,42 +203,14 @@ packages:
name: connectivity_plus name: connectivity_plus
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.3.9" version: "3.0.2"
connectivity_plus_linux:
dependency: transitive
description:
name: connectivity_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
connectivity_plus_macos:
dependency: transitive
description:
name: connectivity_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.6"
connectivity_plus_platform_interface: connectivity_plus_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: connectivity_plus_platform_interface name: connectivity_plus_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.0" version: "1.2.3"
connectivity_plus_web:
dependency: transitive
description:
name: connectivity_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.5"
connectivity_plus_windows:
dependency: transitive
description:
name: connectivity_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.2"
convert: convert:
dependency: transitive dependency: transitive
description: description:
@ -336,42 +308,14 @@ packages:
name: device_info_plus name: device_info_plus
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.0.0" version: "8.0.0"
device_info_plus_linux:
dependency: transitive
description:
name: device_info_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
device_info_plus_macos:
dependency: transitive
description:
name: device_info_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.3"
device_info_plus_platform_interface: device_info_plus_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: device_info_plus_platform_interface name: device_info_plus_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.3.0+1" version: "7.0.0"
device_info_plus_web:
dependency: transitive
description:
name: device_info_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
device_info_plus_windows:
dependency: transitive
description:
name: device_info_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
disk_space: disk_space:
dependency: transitive dependency: transitive
description: description:
@ -509,7 +453,7 @@ packages:
name: flutter_app_lock name: flutter_app_lock
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "3.0.0"
flutter_blurhash: flutter_blurhash:
dependency: "direct main" dependency: "direct main"
description: description:
@ -736,7 +680,7 @@ packages:
name: flutter_web_auth name: flutter_web_auth
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.1" version: "0.5.0"
flutter_web_plugins: flutter_web_plugins:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -1348,7 +1292,7 @@ packages:
name: proj4dart name: proj4dart
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.1.0"
provider: provider:
dependency: "direct main" dependency: "direct main"
description: description:
@ -2004,7 +1948,7 @@ packages:
name: win32 name: win32
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.5.0" version: "2.7.0"
wkt_parser: wkt_parser:
dependency: transitive dependency: transitive
description: description:

View File

@ -16,12 +16,12 @@ dependencies:
callkeep: ^0.3.2 callkeep: ^0.3.2
chewie: ^1.2.2 chewie: ^1.2.2
collection: ^1.15.0-nullsafety.4 collection: ^1.15.0-nullsafety.4
connectivity_plus: ^2.3.9 connectivity_plus: ^3.0.2
cupertino_icons: any cupertino_icons: any
desktop_drop: ^0.3.2 desktop_drop: ^0.3.2
desktop_lifecycle: ^0.1.0 desktop_lifecycle: ^0.1.0
desktop_notifications: ^0.6.3 desktop_notifications: ^0.6.3
device_info_plus: ^4.0.0 device_info_plus: ^8.0.0
dynamic_color: ^1.2.2 dynamic_color: ^1.2.2
email_validator: ^2.0.1 email_validator: ^2.0.1
emoji_picker_flutter: ^1.1.2 emoji_picker_flutter: ^1.1.2
@ -33,7 +33,7 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
flutter_app_badger: ^1.3.0 flutter_app_badger: ^1.3.0
flutter_app_lock: ^2.0.0 flutter_app_lock: ^3.0.0
flutter_blurhash: ^0.7.0 flutter_blurhash: ^0.7.0
flutter_cache_manager: ^3.3.0 flutter_cache_manager: ^3.3.0
flutter_foreground_task: ^3.10.0 flutter_foreground_task: ^3.10.0
@ -49,7 +49,7 @@ dependencies:
flutter_slidable: ^2.0.0 flutter_slidable: ^2.0.0
flutter_svg: ^0.22.0 flutter_svg: ^0.22.0
flutter_typeahead: ^4.0.0 flutter_typeahead: ^4.0.0
flutter_web_auth: ^0.4.0 flutter_web_auth: ^0.5.0
flutter_webrtc: ^0.9.11 flutter_webrtc: ^0.9.11
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2

View File

@ -6,7 +6,7 @@
#include "generated_plugin_registrant.h" #include "generated_plugin_registrant.h"
#include <connectivity_plus_windows/connectivity_plus_windows_plugin.h> #include <connectivity_plus/connectivity_plus_windows_plugin.h>
#include <desktop_drop/desktop_drop_plugin.h> #include <desktop_drop/desktop_drop_plugin.h>
#include <desktop_lifecycle/desktop_lifecycle_plugin.h> #include <desktop_lifecycle/desktop_lifecycle_plugin.h>
#include <flutter_webrtc/flutter_web_r_t_c_plugin.h> #include <flutter_webrtc/flutter_web_r_t_c_plugin.h>

View File

@ -3,7 +3,7 @@
# #
list(APPEND FLUTTER_PLUGIN_LIST list(APPEND FLUTTER_PLUGIN_LIST
connectivity_plus_windows connectivity_plus
desktop_drop desktop_drop
desktop_lifecycle desktop_lifecycle
flutter_webrtc flutter_webrtc