From e4d770e3c23aa330ff95152b1ab48a50d98a636c Mon Sep 17 00:00:00 2001
From: aryapradipta9 <aryapradipta9@gmail.com>
Date: Thu, 19 Apr 2018 16:52:03 +0700
Subject: [PATCH] testing notification

---
 sendNotif.php | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sendNotif.php b/sendNotif.php
index cb72de3..6b99dae 100755
--- a/sendNotif.php
+++ b/sendNotif.php
@@ -31,7 +31,11 @@ class FirebaseNotif
             "to" => "/topics/all",
             "notification" => [
                 "title" => $title,
-                "body" => $body
+                "body" => $body,
+                "click_action" => "beritaIntent"
+            ],
+            "data" => [
+                "id" => 1
             ]
         ];
         // $cat = $_POST["kategori"];
@@ -51,4 +55,3 @@ class FirebaseNotif
         return true;
     }
 }
- 
-- 
GitLab