mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
parent
8d26ca1a90
commit
241a26436a
2 changed files with 11 additions and 5 deletions
|
|
@ -62,6 +62,7 @@ class FCM extends Base implements \Rhymix\Framework\Drivers\PushInterface
|
|||
$notification = $message->getMetadata();
|
||||
$notification['title'] = $message->getSubject();
|
||||
$notification['body'] = $message->getContent();
|
||||
$notification['sound'] = isset($notification['sound']) ? $notification['sound'] : 'default';
|
||||
|
||||
$chunked_token = array_chunk($tokens, 1000);
|
||||
foreach($chunked_token as $token_unit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue