This tutorial will guide you step by step to enable push notifications for new messages on phpFox Mobile apps
| Requirements: - Mobile API 4.2.1 or newer | 
Go to AdminCP > Apps > Installed > Mobile API > Settings
Open ssh and go to Apps/core-im/server, run the following command to update dependencies.
| npm install | 
Edit Apps/core-im/server/config.js file and add a new config with configured values of [server_key] and [sender_id]
| firebase: {serverKey: "[server_key]", senderId: "[sender_id]"} | 
Restart index.js with the command: 
| forever restartall |