You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ Changelog
4
4
2.2.9 (Unreleased)
5
5
------------------
6
6
- Enh #102: Calculate the notification badge count internally and allow other modules to add their own counts via the new `MessagingService::EVENT_NOTIFICATION_COUNT` event; the `$notificationCount` parameter of `MessagingService::processMessage()` is deprecated and its value ignored
7
+
- Enh #103: Send a silent push notification with the updated unread notification count whenever it changes (e.g. after reading/seeing a notification or conversation message), so the app badge count stays in sync
->withNotification(Notification::create($title, $body)) // $imageUrl is intentionally omitted — including it would show a duplicate logo on branded apps
@@ -44,12 +65,6 @@ public function processCloudMessage(array $tokens, string $title, string $body,
44
65
$this->messaging = $factory->createMessaging();
45
66
}
46
67
47
-
$message = CloudMessage::new()
48
-
->withNotification(Notification::create($title, $body)) // $imageUrl is intentionally omitted — including it would show a duplicate logo on branded apps
0 commit comments