/ SDKs / Android
Chat SDKs Android v4
Chat SDKs Android
Chat SDKs
Version 4

Enable Cloud Messaging API

Copy link

To enable the legacy Cloud Messaging API, take the following steps.

Step 1 Open Firebase console

Copy link

In the Firebase console, go to Project settings > Cloud Messaging and select Manage API in Google Cloud Console to open Google Cloud Console.

Step 2 Go to API Library

Copy link

Go to API Library using the back button as shown below.

Step 3 Find Cloud Messaging API

Copy link

In the search bar, type "cloud messaging."

In the search results, select Cloud Messaging as shown below.

Step 4 Enable Cloud Messaging API

Copy link

Click Enable to start using the Cloud Messaging API.

Step 5 Check that the legacy API has been enabled

Copy link

If you go back to your Firebase console, the Cloud Messaging API should be enabled with a newly generated server key.