Skip to content
Snippets Groups Projects
Commit e4d770e3 authored by Arya Pradipta's avatar Arya Pradipta
Browse files

testing notification

parent e4aeddbc
No related merge requests found
Pipeline #4296 passed with stages
in 8 minutes and 26 seconds
...@@ -31,7 +31,11 @@ class FirebaseNotif ...@@ -31,7 +31,11 @@ class FirebaseNotif
"to" => "/topics/all", "to" => "/topics/all",
"notification" => [ "notification" => [
"title" => $title, "title" => $title,
"body" => $body "body" => $body,
"click_action" => "beritaIntent"
],
"data" => [
"id" => 1
] ]
]; ];
// $cat = $_POST["kategori"]; // $cat = $_POST["kategori"];
...@@ -51,4 +55,3 @@ class FirebaseNotif ...@@ -51,4 +55,3 @@ class FirebaseNotif
return true; return true;
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment