(The following guide should only be used after the OneCampus update scheduled for 05/29/2024)
Please follow these steps to migrate from the legacy FCM Cloud Messaging API that uses a Server key to the new HTTP v1 APIs, which uses a private key JSON:
NOTE: The legacy key is deprecated and will stop working on 6/20/2024
- Login to your Firebase console and click on your OneCampus mobile app project.
- Click on the gear icon next to “Project Overview”, then click “Project Settings”:
- The legacy “Server key” used to be under the “Cloud Messaging” tab:
- You can generate the new private key JSON by going to the “Service accounts” tab, then click on “Generate new private key”:
- Store a copy of this private key for your records, as you won’t be able to download it again.
- Copy the JSON file and go to your OneCampus instance to update the tenant setting “FCM Server Key.” (Note: this tenant setting name will change to: “FCM Service Account Private Key JSON” after the update). Paste the JSON file content as-is in the tenant setting field.
Related to
Updated