Fixed notification bug regarding to iOS
This commit is contained in:
@ -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,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user