chore: Update packages

This commit is contained in:
Christian Pauly 2020-10-28 11:54:57 +01:00
parent 86a385dd2d
commit b471bd05aa
3 changed files with 77 additions and 61 deletions

View File

@ -133,7 +133,9 @@ abstract class FirebaseController {
return null;
});
var initializationSettings = InitializationSettings(
initializationSettingsAndroid, initializationSettingsIOS);
android: initializationSettingsAndroid,
iOS: initializationSettingsIOS,
);
await _flutterLocalNotificationsPlugin.initialize(initializationSettings,
onSelectNotification: goToRoom);
@ -264,12 +266,14 @@ abstract class FirebaseController {
)
],
),
importance: Importance.Max,
priority: Priority.High,
importance: Importance.max,
priority: Priority.high,
ticker: i18n.newMessageInFluffyChat);
var iOSPlatformChannelSpecifics = IOSNotificationDetails();
var platformChannelSpecifics = NotificationDetails(
androidPlatformChannelSpecifics, iOSPlatformChannelSpecifics);
android: androidPlatformChannelSpecifics,
iOS: iOSPlatformChannelSpecifics,
);
await _flutterLocalNotificationsPlugin.show(
0,
room.getLocalizedDisplayname(MatrixLocals(i18n)),
@ -299,7 +303,9 @@ abstract class FirebaseController {
AndroidInitializationSettings('notifications_icon');
var initializationSettingsIOS = IOSInitializationSettings();
var initializationSettings = InitializationSettings(
initializationSettingsAndroid, initializationSettingsIOS);
android: initializationSettingsAndroid,
iOS: initializationSettingsIOS,
);
await flutterLocalNotificationsPlugin.initialize(initializationSettings);
// FIXME unable to init without context currently https://github.com/flutter/flutter/issues/67092
@ -322,10 +328,12 @@ abstract class FirebaseController {
// Display notification
var androidPlatformChannelSpecifics = AndroidNotificationDetails(
CHANNEL_ID, CHANNEL_NAME, CHANNEL_DESCRIPTION,
importance: Importance.Max, priority: Priority.High);
importance: Importance.max, priority: Priority.high);
var iOSPlatformChannelSpecifics = IOSNotificationDetails();
var platformChannelSpecifics = NotificationDetails(
androidPlatformChannelSpecifics, iOSPlatformChannelSpecifics);
android: androidPlatformChannelSpecifics,
iOS: iOSPlatformChannelSpecifics,
);
final title = l10n.unreadChats(unread.toString());
await flutterLocalNotificationsPlugin.show(
1, title, l10n.openAppToReadMessages, platformChannelSpecifics,

View File

@ -168,7 +168,14 @@ packages:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
version: "1.0.0"
dapackages:
dependency: "direct dev"
description:
name: dapackages
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
dart_style:
dependency: transitive
description:
@ -233,28 +240,21 @@ packages:
name: file_chooser
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.5"
version: "0.1.6"
file_picker:
dependency: transitive
description:
name: file_picker
url: "https://pub.dartlang.org"
source: hosted
version: "1.13.3"
version: "2.0.11"
file_picker_cross:
dependency: "direct main"
description:
name: file_picker_cross
url: "https://pub.dartlang.org"
source: hosted
version: "4.2.2"
file_picker_platform_interface:
dependency: transitive
description:
name: file_picker_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
version: "4.2.6"
firebase:
dependency: transitive
description:
@ -268,7 +268,7 @@ packages:
name: firebase_core
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.0"
version: "0.5.0+1"
firebase_core_platform_interface:
dependency: transitive
description:
@ -289,7 +289,7 @@ packages:
name: firebase_messaging
url: "https://pub.dartlang.org"
source: hosted
version: "7.0.2"
version: "7.0.3"
flutter:
dependency: "direct main"
description: flutter
@ -336,14 +336,14 @@ packages:
name: flutter_local_notifications
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.4+4"
version: "3.0.1"
flutter_local_notifications_platform_interface:
dependency: transitive
description:
name: flutter_local_notifications_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
version: "2.0.0"
flutter_localizations:
dependency: "direct main"
description: flutter
@ -470,7 +470,7 @@ packages:
name: image_picker
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.7+11"
version: "0.6.7+12"
image_picker_platform_interface:
dependency: transitive
description:
@ -519,7 +519,7 @@ packages:
name: localstorage
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.2+5"
version: "3.0.3+6"
logging:
dependency: transitive
description:
@ -582,7 +582,7 @@ packages:
name: moor
url: "https://pub.dartlang.org"
source: hosted
version: "3.3.1"
version: "3.4.0"
native_imaging:
dependency: "direct main"
description:
@ -633,7 +633,7 @@ packages:
name: open_file
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
version: "3.0.3"
package_config:
dependency: transitive
description:
@ -668,7 +668,7 @@ packages:
name: path_provider
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.18"
version: "1.6.22"
path_provider_linux:
dependency: transitive
description:
@ -822,7 +822,7 @@ packages:
name: share
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.5+2"
version: "0.6.5+4"
shelf:
dependency: transitive
description:
@ -883,7 +883,7 @@ packages:
name: sqflite
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1+1"
version: "1.3.2"
sqflite_common:
dependency: transitive
description:
@ -897,7 +897,7 @@ packages:
name: sqlite3
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.5"
version: "0.1.7"
sqlite3_flutter_libs:
dependency: "direct main"
description:
@ -968,6 +968,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.12-nullsafety.5"
timezone:
dependency: transitive
description:
name: timezone
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.9"
typed_data:
dependency: transitive
description:
@ -1002,7 +1009,7 @@ packages:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "5.7.2"
version: "5.7.8"
url_launcher_linux:
dependency: transitive
description:
@ -1023,14 +1030,14 @@ packages:
name: url_launcher_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.8"
version: "1.0.9"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4+1"
version: "0.1.5"
url_launcher_windows:
dependency: transitive
description:
@ -1093,7 +1100,7 @@ packages:
name: webview_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.24"
version: "1.0.5"
win32:
dependency: transitive
description:
@ -1130,5 +1137,5 @@ packages:
source: hosted
version: "0.1.2"
sdks:
dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.20.0 <2.0.0"
dart: ">=2.10.2 <2.11.0"
flutter: ">=1.22.2 <2.0.0"

View File

@ -22,50 +22,50 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
cupertino_icons: ^1.0.0
famedlysdk:
git:
url: https://gitlab.com/famedly/famedlysdk.git
ref: 955fb747c29eab76b17eb9a13ebc15026e917fb8
localstorage: ^3.0.1+4
file_picker_cross: ^4.2.2
image_picker: ^0.6.7+11
url_launcher: ^5.7.2
localstorage: ^3.0.3+6
file_picker_cross: ^4.2.6
image_picker: ^0.6.7+12
url_launcher: ^5.7.8
cached_network_image: ^2.3.3
firebase_messaging: ^7.0.2
flutter_local_notifications: ^1.4.3
firebase_messaging: ^7.0.3
flutter_local_notifications: ^3.0.1
# desktop_notifications: ^0.0.0-dev.4 // Currently blocked by: https://github.com/canonical/desktop_notifications.dart/issues/5
matrix_link_text: ^0.3.2
path_provider: ^1.5.1
path_provider: ^1.6.22
downloads_path_provider_28: ^0.1.0
permission_handler: ^5.0.1+1
webview_flutter: ^0.3.19+9
share: ^0.6.3+5
webview_flutter: ^1.0.5
share: ^0.6.5+4
flutter_secure_storage: ^3.3.5
http: ^0.12.0+4
universal_html: ^1.1.12
receive_sharing_intent: ^1.3.3
flutter_slidable: ^0.5.4
http: ^0.12.2
universal_html: ^1.2.3
receive_sharing_intent: ^1.4.1
flutter_slidable: ^0.5.7
photo_view: ^0.10.2
flutter_sound: ^2.1.1
open_file: ^3.0.1
mime_type: ^0.3.0
bot_toast: ^3.0.0
flutter_sound: 2.1.1
open_file: ^3.0.3
mime_type: ^0.3.2
bot_toast: ^3.0.4
flutter_matrix_html: ^0.1.10
moor: ^3.3.1
moor: ^3.4.0
sqlite3_flutter_libs: ^0.2.0
sqlite3: ^0.1.4
random_string: ^2.0.1
flutter_typeahead: ^1.8.1
sqlite3: ^0.1.7
random_string: ^2.1.0
flutter_typeahead: ^1.8.8
flutter_olm: ^1.0.1
intl: ^0.16.1
intl_translation: ^0.17.9
intl_translation: ^0.17.10+1
circular_check_box: ^1.0.4
flutter_localizations:
sdk: flutter
sqflite: ^1.1.7 # Still used to obtain the database location
sqflite: ^1.3.2 # Still used to obtain the database location
native_imaging:
git:
url: https://gitlab.com/famedly/libraries/native_imaging.git
@ -80,7 +80,8 @@ dev_dependencies:
sdk: flutter
flutter_launcher_icons: "^0.7.4"
pedantic: ^1.9.0
pedantic: ^1.9.2
dapackages: ^1.3.0
flutter_icons:
android: "launcher_icon"