chore: Update packages
This commit is contained in:
parent
86a385dd2d
commit
b471bd05aa
|
@ -133,7 +133,9 @@ abstract class FirebaseController {
|
||||||
return null;
|
return null;
|
||||||
});
|
});
|
||||||
var initializationSettings = InitializationSettings(
|
var initializationSettings = InitializationSettings(
|
||||||
initializationSettingsAndroid, initializationSettingsIOS);
|
android: initializationSettingsAndroid,
|
||||||
|
iOS: initializationSettingsIOS,
|
||||||
|
);
|
||||||
await _flutterLocalNotificationsPlugin.initialize(initializationSettings,
|
await _flutterLocalNotificationsPlugin.initialize(initializationSettings,
|
||||||
onSelectNotification: goToRoom);
|
onSelectNotification: goToRoom);
|
||||||
|
|
||||||
|
@ -264,12 +266,14 @@ abstract class FirebaseController {
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
importance: Importance.Max,
|
importance: Importance.max,
|
||||||
priority: Priority.High,
|
priority: Priority.high,
|
||||||
ticker: i18n.newMessageInFluffyChat);
|
ticker: i18n.newMessageInFluffyChat);
|
||||||
var iOSPlatformChannelSpecifics = IOSNotificationDetails();
|
var iOSPlatformChannelSpecifics = IOSNotificationDetails();
|
||||||
var platformChannelSpecifics = NotificationDetails(
|
var platformChannelSpecifics = NotificationDetails(
|
||||||
androidPlatformChannelSpecifics, iOSPlatformChannelSpecifics);
|
android: androidPlatformChannelSpecifics,
|
||||||
|
iOS: iOSPlatformChannelSpecifics,
|
||||||
|
);
|
||||||
await _flutterLocalNotificationsPlugin.show(
|
await _flutterLocalNotificationsPlugin.show(
|
||||||
0,
|
0,
|
||||||
room.getLocalizedDisplayname(MatrixLocals(i18n)),
|
room.getLocalizedDisplayname(MatrixLocals(i18n)),
|
||||||
|
@ -299,7 +303,9 @@ abstract class FirebaseController {
|
||||||
AndroidInitializationSettings('notifications_icon');
|
AndroidInitializationSettings('notifications_icon');
|
||||||
var initializationSettingsIOS = IOSInitializationSettings();
|
var initializationSettingsIOS = IOSInitializationSettings();
|
||||||
var initializationSettings = InitializationSettings(
|
var initializationSettings = InitializationSettings(
|
||||||
initializationSettingsAndroid, initializationSettingsIOS);
|
android: initializationSettingsAndroid,
|
||||||
|
iOS: initializationSettingsIOS,
|
||||||
|
);
|
||||||
await flutterLocalNotificationsPlugin.initialize(initializationSettings);
|
await flutterLocalNotificationsPlugin.initialize(initializationSettings);
|
||||||
|
|
||||||
// FIXME unable to init without context currently https://github.com/flutter/flutter/issues/67092
|
// FIXME unable to init without context currently https://github.com/flutter/flutter/issues/67092
|
||||||
|
@ -322,10 +328,12 @@ abstract class FirebaseController {
|
||||||
// Display notification
|
// Display notification
|
||||||
var androidPlatformChannelSpecifics = AndroidNotificationDetails(
|
var androidPlatformChannelSpecifics = AndroidNotificationDetails(
|
||||||
CHANNEL_ID, CHANNEL_NAME, CHANNEL_DESCRIPTION,
|
CHANNEL_ID, CHANNEL_NAME, CHANNEL_DESCRIPTION,
|
||||||
importance: Importance.Max, priority: Priority.High);
|
importance: Importance.max, priority: Priority.high);
|
||||||
var iOSPlatformChannelSpecifics = IOSNotificationDetails();
|
var iOSPlatformChannelSpecifics = IOSNotificationDetails();
|
||||||
var platformChannelSpecifics = NotificationDetails(
|
var platformChannelSpecifics = NotificationDetails(
|
||||||
androidPlatformChannelSpecifics, iOSPlatformChannelSpecifics);
|
android: androidPlatformChannelSpecifics,
|
||||||
|
iOS: iOSPlatformChannelSpecifics,
|
||||||
|
);
|
||||||
final title = l10n.unreadChats(unread.toString());
|
final title = l10n.unreadChats(unread.toString());
|
||||||
await flutterLocalNotificationsPlugin.show(
|
await flutterLocalNotificationsPlugin.show(
|
||||||
1, title, l10n.openAppToReadMessages, platformChannelSpecifics,
|
1, title, l10n.openAppToReadMessages, platformChannelSpecifics,
|
||||||
|
|
65
pubspec.lock
65
pubspec.lock
|
@ -168,7 +168,14 @@ packages:
|
||||||
name: cupertino_icons
|
name: cupertino_icons
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
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:
|
dart_style:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -233,28 +240,21 @@ packages:
|
||||||
name: file_chooser
|
name: file_chooser
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.5"
|
version: "0.1.6"
|
||||||
file_picker:
|
file_picker:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: file_picker
|
name: file_picker
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.13.3"
|
version: "2.0.11"
|
||||||
file_picker_cross:
|
file_picker_cross:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: file_picker_cross
|
name: file_picker_cross
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.2.2"
|
version: "4.2.6"
|
||||||
file_picker_platform_interface:
|
|
||||||
dependency: transitive
|
|
||||||
description:
|
|
||||||
name: file_picker_platform_interface
|
|
||||||
url: "https://pub.dartlang.org"
|
|
||||||
source: hosted
|
|
||||||
version: "1.3.1"
|
|
||||||
firebase:
|
firebase:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -268,7 +268,7 @@ packages:
|
||||||
name: firebase_core
|
name: firebase_core
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.5.0"
|
version: "0.5.0+1"
|
||||||
firebase_core_platform_interface:
|
firebase_core_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -289,7 +289,7 @@ packages:
|
||||||
name: firebase_messaging
|
name: firebase_messaging
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "7.0.2"
|
version: "7.0.3"
|
||||||
flutter:
|
flutter:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description: flutter
|
description: flutter
|
||||||
|
@ -336,14 +336,14 @@ packages:
|
||||||
name: flutter_local_notifications
|
name: flutter_local_notifications
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.4.4+4"
|
version: "3.0.1"
|
||||||
flutter_local_notifications_platform_interface:
|
flutter_local_notifications_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: flutter_local_notifications_platform_interface
|
name: flutter_local_notifications_platform_interface
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.1"
|
version: "2.0.0"
|
||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description: flutter
|
description: flutter
|
||||||
|
@ -470,7 +470,7 @@ packages:
|
||||||
name: image_picker
|
name: image_picker
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.6.7+11"
|
version: "0.6.7+12"
|
||||||
image_picker_platform_interface:
|
image_picker_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -519,7 +519,7 @@ packages:
|
||||||
name: localstorage
|
name: localstorage
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.0.2+5"
|
version: "3.0.3+6"
|
||||||
logging:
|
logging:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -582,7 +582,7 @@ packages:
|
||||||
name: moor
|
name: moor
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.3.1"
|
version: "3.4.0"
|
||||||
native_imaging:
|
native_imaging:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -633,7 +633,7 @@ packages:
|
||||||
name: open_file
|
name: open_file
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.0.1"
|
version: "3.0.3"
|
||||||
package_config:
|
package_config:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -668,7 +668,7 @@ packages:
|
||||||
name: path_provider
|
name: path_provider
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.6.18"
|
version: "1.6.22"
|
||||||
path_provider_linux:
|
path_provider_linux:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -822,7 +822,7 @@ packages:
|
||||||
name: share
|
name: share
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.6.5+2"
|
version: "0.6.5+4"
|
||||||
shelf:
|
shelf:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -883,7 +883,7 @@ packages:
|
||||||
name: sqflite
|
name: sqflite
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.3.1+1"
|
version: "1.3.2"
|
||||||
sqflite_common:
|
sqflite_common:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -897,7 +897,7 @@ packages:
|
||||||
name: sqlite3
|
name: sqlite3
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.5"
|
version: "0.1.7"
|
||||||
sqlite3_flutter_libs:
|
sqlite3_flutter_libs:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -968,6 +968,13 @@ packages:
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.3.12-nullsafety.5"
|
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:
|
typed_data:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1002,7 +1009,7 @@ packages:
|
||||||
name: url_launcher
|
name: url_launcher
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.7.2"
|
version: "5.7.8"
|
||||||
url_launcher_linux:
|
url_launcher_linux:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1023,14 +1030,14 @@ packages:
|
||||||
name: url_launcher_platform_interface
|
name: url_launcher_platform_interface
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.8"
|
version: "1.0.9"
|
||||||
url_launcher_web:
|
url_launcher_web:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: url_launcher_web
|
name: url_launcher_web
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.4+1"
|
version: "0.1.5"
|
||||||
url_launcher_windows:
|
url_launcher_windows:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1093,7 +1100,7 @@ packages:
|
||||||
name: webview_flutter
|
name: webview_flutter
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.3.24"
|
version: "1.0.5"
|
||||||
win32:
|
win32:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1130,5 +1137,5 @@ packages:
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.2"
|
version: "0.1.2"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=2.10.0-110 <2.11.0"
|
dart: ">=2.10.2 <2.11.0"
|
||||||
flutter: ">=1.20.0 <2.0.0"
|
flutter: ">=1.22.2 <2.0.0"
|
||||||
|
|
51
pubspec.yaml
51
pubspec.yaml
|
@ -22,50 +22,50 @@ dependencies:
|
||||||
|
|
||||||
# The following adds the Cupertino Icons font to your application.
|
# The following adds the Cupertino Icons font to your application.
|
||||||
# Use with the CupertinoIcons class for iOS style icons.
|
# Use with the CupertinoIcons class for iOS style icons.
|
||||||
cupertino_icons: ^0.1.2
|
cupertino_icons: ^1.0.0
|
||||||
|
|
||||||
famedlysdk:
|
famedlysdk:
|
||||||
git:
|
git:
|
||||||
url: https://gitlab.com/famedly/famedlysdk.git
|
url: https://gitlab.com/famedly/famedlysdk.git
|
||||||
ref: 955fb747c29eab76b17eb9a13ebc15026e917fb8
|
ref: 955fb747c29eab76b17eb9a13ebc15026e917fb8
|
||||||
|
|
||||||
localstorage: ^3.0.1+4
|
localstorage: ^3.0.3+6
|
||||||
file_picker_cross: ^4.2.2
|
file_picker_cross: ^4.2.6
|
||||||
image_picker: ^0.6.7+11
|
image_picker: ^0.6.7+12
|
||||||
url_launcher: ^5.7.2
|
url_launcher: ^5.7.8
|
||||||
cached_network_image: ^2.3.3
|
cached_network_image: ^2.3.3
|
||||||
firebase_messaging: ^7.0.2
|
firebase_messaging: ^7.0.3
|
||||||
flutter_local_notifications: ^1.4.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
|
# 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
|
matrix_link_text: ^0.3.2
|
||||||
path_provider: ^1.5.1
|
path_provider: ^1.6.22
|
||||||
downloads_path_provider_28: ^0.1.0
|
downloads_path_provider_28: ^0.1.0
|
||||||
permission_handler: ^5.0.1+1
|
permission_handler: ^5.0.1+1
|
||||||
webview_flutter: ^0.3.19+9
|
webview_flutter: ^1.0.5
|
||||||
share: ^0.6.3+5
|
share: ^0.6.5+4
|
||||||
flutter_secure_storage: ^3.3.5
|
flutter_secure_storage: ^3.3.5
|
||||||
http: ^0.12.0+4
|
http: ^0.12.2
|
||||||
universal_html: ^1.1.12
|
universal_html: ^1.2.3
|
||||||
receive_sharing_intent: ^1.3.3
|
receive_sharing_intent: ^1.4.1
|
||||||
flutter_slidable: ^0.5.4
|
flutter_slidable: ^0.5.7
|
||||||
photo_view: ^0.10.2
|
photo_view: ^0.10.2
|
||||||
flutter_sound: ^2.1.1
|
flutter_sound: 2.1.1
|
||||||
open_file: ^3.0.1
|
open_file: ^3.0.3
|
||||||
mime_type: ^0.3.0
|
mime_type: ^0.3.2
|
||||||
bot_toast: ^3.0.0
|
bot_toast: ^3.0.4
|
||||||
flutter_matrix_html: ^0.1.10
|
flutter_matrix_html: ^0.1.10
|
||||||
moor: ^3.3.1
|
moor: ^3.4.0
|
||||||
sqlite3_flutter_libs: ^0.2.0
|
sqlite3_flutter_libs: ^0.2.0
|
||||||
sqlite3: ^0.1.4
|
sqlite3: ^0.1.7
|
||||||
random_string: ^2.0.1
|
random_string: ^2.1.0
|
||||||
flutter_typeahead: ^1.8.1
|
flutter_typeahead: ^1.8.8
|
||||||
flutter_olm: ^1.0.1
|
flutter_olm: ^1.0.1
|
||||||
intl: ^0.16.1
|
intl: ^0.16.1
|
||||||
intl_translation: ^0.17.9
|
intl_translation: ^0.17.10+1
|
||||||
circular_check_box: ^1.0.4
|
circular_check_box: ^1.0.4
|
||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
sdk: flutter
|
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:
|
native_imaging:
|
||||||
git:
|
git:
|
||||||
url: https://gitlab.com/famedly/libraries/native_imaging.git
|
url: https://gitlab.com/famedly/libraries/native_imaging.git
|
||||||
|
@ -80,7 +80,8 @@ dev_dependencies:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
|
|
||||||
flutter_launcher_icons: "^0.7.4"
|
flutter_launcher_icons: "^0.7.4"
|
||||||
pedantic: ^1.9.0
|
pedantic: ^1.9.2
|
||||||
|
dapackages: ^1.3.0
|
||||||
|
|
||||||
flutter_icons:
|
flutter_icons:
|
||||||
android: "launcher_icon"
|
android: "launcher_icon"
|
||||||
|
|
Loading…
Reference in a new issue