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.
-
Goto IAM Admin - https://console.cloud.google.com/iam-admin/roles
-
Create Role called:
Firebase-SendMessage
-
Add permission -
cloudmessaging.messages.create
-
Create service account - https://console.cloud.google.com/iam-admin/serviceaccounts
-
Select the
Firebase-SendMessage
role we created -
Click on the service account created and goto keys
-
Create New key
These instructions can also be found in our updated docs: Configuring Push Notifications | Rocket.Chat Developer
Configure Rocket.Chat
- Navigate to Administration > Workspace > Settings > Push
- Make sure Use legacy notification provider is turned off
- On Certificates and Keys, copy the Service Account content you just created to Google FCM API Credentials
- Save and restart your workspace.
- 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).
- Navigate to Administration > Workspace > Settings > Push and click on the Send a test push to my user button.