Android devices receive notifications through Firebase Cloud Messaging (FCM). Google requires all accounts to upgrade to a newer version of the FCM API to continue sending messages in 2024 (more details on Google’s deprecation announcement).
OneSignal leverages the FCM API for Android push notifications, and we have already made the backend updates required for this change. Learn More
How do I update?
All you need to do is provide updated authentication credentials from Firebase. You’ll need to log in to your Google Firebase project, and you need admin access to update your OneSignal app. No app store updates are needed.
In your Firebase project, go to Project Settings and the Service Accounts tab to download your private key JSON.
In your OneSignal App Settings, upload the private key file you just downloaded
Still not sure what to do?
Share the information with your developer, who is responsible for your Android app.
The whole process can be completed in minutes. We recommend you update now before the legacy FCM API is deprecated. Otherwise, you won’t be able to message your Android app users.
1. In your Firebase project, go to the project settings and service accounts tab to download your private key in JSON format
You have to make that file on Android.
Download the Firebase file from the same account that has the registered app because if it is different, they will get a message in one signal that says that all users are going to be deleted.
Then save everything and finish; you are set.
As Always, Happy Ordering.