Skip to main content

Overview

To ensure continuous delivery of notifications to your mobile users, Gameball now requires an update to the Firebase Cloud Messaging (FCM) configuration, transitioning from the legacy API to the new HTTP v1 API. This article walks you through the steps needed to complete this migration.

Migration Steps

1

Access Your Firebase Project Information

Open your web browser and go to the Firebase Console. Log in using the Google account associated with your Firebase project.
Click on Generate New Private Key to download a JSON file containing all necessary information for the migration.Sample FCM Private key JSON file:
{
  "type": "service_account",
  "project_id": "fcm-test-*****",
  "private_key_id": "*****4da92a*****031791732e*****",
  "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIB*****ASCBKcwggSjAgEAAoIBAQCnZZw4akn8XO2J\nYS*****RhTCxF+KyTNmp7q0GnuoEZweGyla6t*****PxSnh\nfX5w1wxD7r1iGxJCG8******",
  "client_email": "firebase-a*****est-7ce24.iam.gserviceaccount.com",
  "client_id": "*****38150929365",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://oauth2.googleapis.com/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-8j******.iam.gserviceaccount.com",
  "universe_domain": "googleapis.com"
}
2

Update Your Gameball Dashboard

Access your Gameball dashboard using your credentials.
Navigate to your Gameball Admin Dashboard > Settings > Admin Settings. Locate the Integration then go to Mobile Integration.
Mobile Integration Settings
The old attributes such as Sender ID, Web API Key, and Server Key should be left unchanged.
Using the downloaded JSON file, fill in the following fields in the Gameball dashboard:
FieldSource in JSON file
projectIdCopy the value of project_id
privateKeyCopy the entire value of private_key (including “BEGIN” and “END PRIVATE KEY” lines)
clientEmailCopy the value of client_email
FCM Configuration Fields
After entering all three fields, click Save to apply the changes.
By following these steps, you will ensure your notifications continue to work seamlessly with the new Firebase API requirements.

Need Help?

If you have any questions or need further assistance, please contact our support team at support@gameball.co.