I want to add Google Cloud Messaging & Notifications to my server.
I have added following role to my service account, but still I couldn't send the messages from my server.
Firebase Cloud Messaging Admin
I dig a little deeper and find out that we need following permission to make it work.
cloudmessaging.messages.create
This permission is available in default all access account but if I create new Service Account with specific access grants, I cant find this permission anywhere.
Please help guys!
In order to gain the permission "cloudmessaging.messages.create" please attempt to use one of the following roles:
roles/firebase.admin
or
roles/firebase.growthAdmin
As identified by the community via public documentation, the Cloud Messaging Roles do not contain the permission required in this case.