notifications

This commit is contained in:
2018-09-27 01:38:56 +02:00
parent 28ef5cb2f5
commit 0b030406bb
11 changed files with 176 additions and 40 deletions

View File

@@ -55,11 +55,11 @@ $payload = json_encode(
'to' => $fcm,
//'dry_run' => true,
'android' => [ 'priority' => 'high' ],
'notification' =>
[
'title' => $message,
'body' => $content,
],
//'notification' =>
//[
// 'title' => $message,
// 'body' => $content,
//],
'data' =>
[
'title' => $message,