Skip to content

Commit 89705aa

Browse files
authored
Merge pull request #15 from redjanym/develop
Develop
2 parents da46a64 + 3d7d2fe commit 89705aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

FCMClient.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ public function sendNotification($notification)
129129
$message = (new Message())
130130
->setNotification($notification)
131131
->setData($notification->getData())
132-
->setPriority($notification->getPriority());
132+
->setPriority($notification->getPriority())
133+
->setJsonData($notification->getJsonData())
134+
->setContentAvailable($notification->getContentAvailable());
133135

134136
// Check for the type of Notification
135137
if($notification instanceof DeviceNotification){

0 commit comments

Comments
 (0)