This tutorial will guide you step by step to enable push notifications for new messages on phpFox Mobile apps
- Mobile API 4.2.1 or newer
Go to AdminCP > Apps > Installed > Mobile API > Settings
- Configure Firebase Sender ID setting with the server Sender Id of your Firebase project. You can get the sender id by going to Firebase App console, then go to Project Settings > Cloud Messaging
In case IM server set up on your self hosting
Firebase Server Idsetting into AdminCP > Mobile Api > Settings.
- Open ssh and go to
npm installto update dependencies.
Apps/core-im/server/config.jsfile and add new config
4. Restart index.js with the command: