---
description: FCM Push Notification
---

# 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**](http://blog.dream-space.web.id/?p=49)**​**‌

1. &#x20;GOOGLE\_API\_KEY - for admin web

&#x20;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** <a href="#notification-title" id="notification-title"></a>

1\. open file app/controllers/place\_add.js function **sendGcmNotification()** 2. and for news at app/controllers/news\_add.js function **sendGcmNotification()**&#x200C;

### **NOTIFICATION URL** <a href="#notification-url" id="notification-url"></a>

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`

<div align="left"><img src="https://4196469622-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGFwKX8ikta8ft7T6Oq%2F-LrHjpQ2_dPQgge1mtII%2F-LrHl08GHFPR3D70lNz-%2FCapture.JPG?alt=media&#x26;token=63a869f0-ce0d-4daa-918f-b3ff97edc8c6" alt=""></div>
