build: (deps): bump flutter_local_notifications from 19.5.0 to 20.0.0
Bumps [flutter_local_notifications](https://github.com/MaikuB/flutter_local_notifications) from 19.5.0 to 20.0.0. - [Release notes](https://github.com/MaikuB/flutter_local_notifications/releases) - [Commits](https://github.com/MaikuB/flutter_local_notifications/compare/flutter_local_notifications-v19.5.0...flutter_local_notifications-v20.0.0) --- updated-dependencies: - dependency-name: flutter_local_notifications dependency-version: 20.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
ea795b89ed
commit
49003af949
6 changed files with 33 additions and 33 deletions
|
|
@ -112,7 +112,7 @@ class BackgroundPush {
|
|||
});
|
||||
}
|
||||
await _flutterLocalNotificationsPlugin.initialize(
|
||||
const InitializationSettings(
|
||||
settings: const InitializationSettings(
|
||||
android: AndroidInitializationSettings('notifications_icon'),
|
||||
iOS: DarwinInitializationSettings(),
|
||||
),
|
||||
|
|
@ -170,7 +170,7 @@ class BackgroundPush {
|
|||
|
||||
Future<void> cancelNotification(String roomId) async {
|
||||
Logs().v('Cancel notification for room', roomId);
|
||||
await _flutterLocalNotificationsPlugin.cancel(roomId.hashCode);
|
||||
await _flutterLocalNotificationsPlugin.cancel(id: roomId.hashCode);
|
||||
|
||||
// Workaround for app icon badge not updating
|
||||
if (Platform.isIOS) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue