Copy your Firebase Cloud Messaging (FCM) Credentials to Teak
In order to send notifications to your game on Android, Teak needs your Firebase Cloud Messaging (FCM) credentials. These can be found on the Firebase console.
We will be copying the values from the Firebase Console and pasting them in the Teak Dashboard.
You will need the following accounts to complete this step:
-
An account on the Firebase Console with an Editor or Owner role and access to your game
-
An account on Teak with access to your game
Find your Android Push Credentials on Firebase
-
Go to your Firebase Console and open the project for your game.
-
Click the gear icon in the upper left corner, and click Project settings.
-
Now click on Cloud Messaging.
-
Make sure that Cloud Messaging API (Legacy) is enabled; those are the settings that Teak uses.
Enabling Cloud Messaging API (Legacy)If the legacy API isn’t enabled, proceed with these steps to activate it.
-
In the Cloud Messaging API (Legacy) section, click on the 3 vertical dots. ⋮
-
Click Manage API in Google Cloud Console.
-
In the new tab that opens, click Enable.
-
This will load the API/Service Details page. After the page has loaded, close this tab.
-
Return to the Firebase Console page and refresh the page.
-
Cloud Messaging API (Legacy) should now be enabled.
-
-
Locate the
Sender ID
andServer Key
values.
Copy the Sender ID and Server Key to Teak
-
In the Teak Dashboard for your game, navigate to .
-
Copy
Sender ID
from Firebase to theFCM Sender ID
in the Teak Dashboard. -
Copy
Server key
from Firebase to theFCM Api Key
in the Teak Dashboard. -
Click Save to confirm your changes.