Fixed notification bug regarding to iOS

This commit is contained in:
2023-08-20 19:06:35 +02:00
parent 404c77b2cb
commit ca9cf687ea
2 changed files with 13 additions and 7 deletions

View File

@ -30,8 +30,9 @@ class NotificationController {
final NotificationService service = NotificationService();
service.initializeNotifications().then((value) {
service.showNotification(
title: "Du hast $messageCount ungelesene Nachrichten!",
body: "In $chatCount Chats, von ${people.join(", ")}"
title: "Du hast $messageCount ungelesene Nachrichten!",
body: "In $chatCount Chats, von ${people.join(", ")}",
badgeCount: messageCount,
);
});
});