Skip to content

Commit f6b4e54

Browse files
committed
Merge branch 'master' into bs5
2 parents 694afe4 + 7f50074 commit f6b4e54

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Changelog
1010
----------------------
1111
- Fix #75: Warning for "FCM Detection - App is using Proxy Firebase Service"
1212
- Fix #78: Don't show opener if logout triggered by mobile app
13+
- Enh #80: Add height priority for mobile app push notifications
1314

1415
2.1.8 (March 21, 2025)
1516
----------------------

drivers/Fcm.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public function processCloudMessage(array $tokens, string $title, string $body,
3535
$message = CloudMessage::new()
3636
->withNotification(Notification::create($title, $body, $imageUrl))
3737
->withWebPushConfig(['fcm_options' => ['link' => $url]])
38-
->withData(['url' => $url, 'notification_count' => $notificationCount]);
38+
->withData(['url' => $url, 'notification_count' => $notificationCount])
39+
->withHighestPossiblePriority();
3940

4041
try {
4142
$report = $this->messaging->sendMulticast($message, $tokens);

0 commit comments

Comments
 (0)