FCM legacy API Migration Guide
Starting June 01, 2024, Google will discontinue support for sending mobile push notifications via the legacy FCM v1 APIs. To avoid disruption to the notification service on your platform applications, we recommend planning and migrating them before this date. For guidance on migration, please refer to the documentation provided here.
No action is required on the Amity Social Cloud SDKs and UIKits.
Generate a new private key JSON file from Firebase Console.
Go to Firebase Console.
Navigate to Firebase project -> "Service accounts" tab.
Then click "Generate new private key" -> "Generate key" (trigger download of .json file).
Store the JSON file that contains the private key securely on your local machine.
Add a new private key JSON file on Admin Console
Go to Amity Social Cloud Admin Console and login with credentials.
On the left navigation bar, navigate to "Settings" -> "Push Notifications".
Click Add new certificate on the "PNS Certificates" section.
When the "Add PNS Certificate" option appears, enter the Certificate Name and select "Android" as the platform.
Select "Firebase Cloud Messaging in "Provider" section.
In the "FCM Credentials" section, upload the JSON file that contains the downloaded key.
After successfully uploading the JSON file, click "Submit" to save the credential.
Finally, ensure to activate the newly uploaded certificate by clicking the upward arrow icon.
Last updated