Attn: Custom Mobile Apps

If you are using our official mobile apps from the app store no action is required. This is only relevant to those that have followed the whitelabel process to create their own custom apps.

On June 20th 2024 Google will be disabling the push notification endpoint Rocket.Chat used for sending push notifications to Android devices.

Can find more about their announcement here: Perguntas frequentes sobre o Firebase

What do I need to do?

Upgrade your version

Upgrade to one of the following versions: 6.8.0, 6.7.3, 6.6.8, 6.5.7.
PS: Patches to be out soon, but sharing here already for awareness.

As part of upgrading your push will continue to work with the old endpoint until you manually switch it over to use the new one in the instructions below. So you can upgrade without worrying about push notifications breaking.

Generate a new token with Google

The new endpoint uses a different token so your existing token won’t work.

  1. Goto IAM Admin - https://console.cloud.google.com/iam-admin/roles

  2. Create Role called: Firebase-SendMessage

  3. Add permission - cloudmessaging.messages.create

  4. Create service account - https://console.cloud.google.com/iam-admin/serviceaccounts

  5. Select the Firebase-SendMessage role we created

  6. Click on the service account created and goto keys

  7. Create New key

These instructions can also be found in our updated docs: Configuring Push Notifications | Rocket.Chat Developer

Configure Rocket.Chat

  1. Navigate to Administration > Workspace > Settings > Push
  2. Make sure Use legacy notification provider is turned off
  3. On Certificates and Keys, copy the Service Account content you just created to Google FCM API Credentials
  4. Save and restart your workspace.
  5. Log into the server as the same user on your mobile device and close it (it won’t receive push notification if it’s open).
  6. Navigate to Administration > Workspace > Settings > Push and click on the Send a test push to my user button.
2 Likes

All Patches listed above are now released

1 Like

Hi Gabriel, I’ve been struggling with mobile push notifications for months. Not sure exactly what version is stopped working but I’ve kept updating and it just won’t work. I just see: name":“Push”,“msg”:“Error sending push to gateway (3 try) ->”,“err”:“{"errorMsg":"unsupported version"}”} in the Report.
All users, all the time, only mobile, both platforms. I’m sending to you because your post indicates you may have detailed knowledge on the push process. I’ve been unable to find a thread to pull. Currently running 6.6.6 Starter via Docker. Any thoughts? Thanks in advance.

This is only related to people who have built their own apps.

If you are using a standard app then open a new thread. You also need to help us with some info - see the top bit of this post I did on how to report issues.

Check your cloud account and make sure you only have the relevant server listed - sometime you can get more than one if you tried testing etc and it can get confused.

1 Like