Notification

FCM Push Notification

Starting version 6.4 we migrate from GCM to FCM‌

To make fcm works for admin web you need to have GOOGLE_API_KEY, here the tutorial http://blog.dream-space.web.id/?p=49

  1. GOOGLE_API_KEY - for admin web

after you obtain all of that please edit app/services/api.php Edit this one

 const GOOGLE_API_KEY = "AIzaSyBeZB-ciiMdECz..........";

* since version 4.1 gcm notification already support more than 1000 user.‌

NOTIFICATION TITLE

1. open file app/controllers/place_add.js function sendGcmNotification() 2. and for news at app/controllers/news_add.js function sendGcmNotification()

NOTIFICATION URL

Check your api.php if your URL still old https://android.googleapis.com/gcm/send you must change it to this https://fcm.googleapis.com/fcm/send