Push notification without gateway not working

Greetings,

I am attempting to use my rocket chat instance to send notifications without using the rocket chat gateway but I never receive the notifications.
I’m using the official rocket chat android app and I’m testing using the “send a test push notification to my user” option.

I followed the following instructions:
Go to “Administration”, then “Push”
Set the Enable Gateway to False, then plug the information obtained from Apple and Google
Restart server (with out this it will not work)

Not sure what I should do with that part: “then plug the information obtained from Apple and Google” since I’m using the official Rocket Chat app.

Server logs:
"server.js:204 Push ➔ debug Sent message “@davidd” to 0 ios apps 1 android apps "

Am I missing something?

Server Setup Information

  • Rocket Chat version 3.7.1
  • Ubuntu 16.04
  • Number of Running Instances: 2
  • DB Replicaset Oplog: yes
  • NodeJS Version: 12.18.4
  • MongoDB Version: 4
  • Proxy: nginx

Thank you,
David

1 Like

You can’t use your own push gateway with the official app. This is due to Apple and Google’s push notification policies, which are anti-open source projects. You need to build your own app.