Setup Firebase push notifications for Google Android
Last updated
Last updated
Before you can activate push notifications, set the Firebase connection in the project level account.
Create the connection between Firebase project and Google cloud account as follows:
Create key in Firebase project
Register the key from Firebase into the Google cloud account
Upload file to the Shelfy back-office
Go to Firebase > Project Settings.
Click the Cloud Messaging tab.
Click Manage Service Accounts.
Go to Google Cloud and copy the email address.
In the side menu, click IAM.
Filter to this address, and click the edit icon.
Click add role, and in the Select a role drop down, choose Firebase Cloud messaging API Admin.
Click Save.
Go to the Service accounts tab, and click the email.
Go to the Keys tab.
In the Add key drop drown, select Create new key.
Create a private key using a JSON file type. The file is automatically downloaded to your computer.
Login to shelfy.io console, and go to the Integrations Panel. (Integration Panel/Push Notifications/Firebase)
Upload the JSON file.
If you have not created an Android app within the Firebase project, copy and paste the following values from the back office to your Firebase account.
In Firebase, go to Project Settings > General
Upload the GoggleService.info.json file.
Click Save To Version. Release the version with Android push notifications activated.
Upload the GoogleServices-info.json To the Shelfy back office.
Click Save To Version, and release your version with the push notifications for Android.