Notification

FCM Push Notification

Starting version 7.5 we migrate from Firebase to One Signal

To make fcm works for admin web you need to have ONESIGNAL credentials, here the tutorial https://documentation.onesignal.com/docs/keys-and-ids

1. ONESIGNAL_API_KEY & ONESIGNAL_APP_ID - for admin web

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

const ONESIGNAL_API_KEY = "MGZlZGY1OWUtZmE1Yy00ODExxxxxxxxxxxx";
const ONESIGNAL_APP_ID 	= "7137ae44-68bexxxxxxxxxxxxxxxxxxxxxxx";.‌

NOTIFICATION TITLE

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

Last updated