Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Cloud Messaging not showing Server Key [duplicate]

Does anyone know where I can find the Server Key shown in this picture? The problem is that Firebase slightly changed the UI and now I don't know where to find it.

https://i.sstatic.net/ru5Ou.png

like image 418
Azyl777 Avatar asked Feb 19 '26 12:02

Azyl777


2 Answers

Firebase cloud messaging is now shifted to API (V1)

So to get the serverkey you should enable the cloud messaging API (Legacy).

Follow the steps:

  1. Click on the three dots and click on manage Api in google cloud console enter image description here

  2. Click on enable. enter image description here

3.Now redirect back to the main page and refresh the page.

Now you have your serverkey

Hope it helps!

like image 119
krishnaacharyaa Avatar answered Feb 22 '26 03:02

krishnaacharyaa


From Firebase Cloud Messaging API (V1), we have to enable the cloud messaging service.

  1. Open project settings and select cloud messaging tab
  2. Select three dot menu right to Cloud Messaging API (Legacy) and tap Manage API in Google Cloud Console
  3. In the redirected Google Cloud Console enable the cloud messaging service.
  4. Go back to project settings and refresh. You can get the server key now.

Reference - https://documentation.onesignal.com/docs/generate-a-google-server-api-key

like image 42
Arunachalam Ganesan Avatar answered Feb 22 '26 04:02

Arunachalam Ganesan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!