Android Devices not received Push Notification

Hello, currently i’m facing an issue when i tried to send a message with push notification to other user, but he didn’t receive any push notification in his device. I already followed the steps that served in the documentation but i still haven’t fixed the issue.

Here’s my settings:


maybe i missed something in this settings, please let me know.

Nowhere near enough information.

What are you trying to achieve?

Exactly what steps did you take?

What docs did you read?

Start here, but read all this doc.

How to report bugs effectively

  • Version of Rocket.Chat Server: 7.1.0
  • Operating System: Linux Ubuntu 22.04
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 20.18.0
  • MongoDB Version: 8.0.4
  • Number of users: 37

i follow step from this page
https://developer.rocket.chat/docs/configuring-push-notifications

  1. Create service account key
  2. Copy content from service account json to field Google FCM API Credentials

As per the gist:

  • Licence type eg CE/Starter/Pro

Is?

Before you start
First, you must ALWAYS test on the latest version of Rocket.Chat and use the latest browser or app clients

Latest

That is 7.3.x minimum

Next supported versions

MongoDB: 5.0, 6.0, 7.0

8 is not mentioned.

If you are testing, make sure you use a test server with the correct setup. If you use unsupported software there is no guarantee of a solution or a fix. You shoudl use 7 for testing.

So were push notifications not working?

You have not said this but are you building your own app and using your own push server?

If so what steps did you take?

We need to know a lot more about what you have done so we don’t waste time like this having to keep asking questions.

  • Licence type eg : Starter
  • i download latest version rocket chat 4.57.0 from playstore

push notif working in ios but not working on android. Previously on Android it worked fine with the legacy Firebase API, after replacing it with the service account key it didn’t work anymore.

You are not reading properly.

You can manually configure push notifications to your customized app build

You need to build your own app to use your own push gateway.

If you are using a standard docker install and standard apps it will just work.

If it doesn’t you have configured something wrong. Probably your proxy/docker setup somewhere.

I suggest you go back and start again. Check proxy, ssl certificates, firewall and settings on the Android phone.

Make sure your websockets are working as per the gist.

Usually iOS is fussier, not Android, so if iOS gets notifications have a serious look at the Android setup.

in service account i can’t add role “Firebase Cloud Messaging API Admin”, because not found

I am still none the wiser about what you are trying to do and why.

Go back and explain exactly what you are trying to achieve, not your attempts at a solution.

You are creating this:

XY Problem