Android Push Notifications - Configuring Server Key and Adding Firebase Configuration File

Follow

You need to complete the following steps to authorize Swrve to send push notifications to your Android Application. 

1. Add the Server Key to the Swrve Dashboard. 

You can find this key by clicking on the Settings icon in your Firebase Project
then clicking "Project Settings".
See Screenshot below:

Screenshot_2020-09-28_at_10.03.36.png

Here you can manage the Server keys for Firebase Cloud Messaging.
If there is not one present create one. See screenshot below:

Screenshot_2020-09-28_at_10.05.39.png

Copy and paste the key into the Integration Settings page in the Swrve Dashboard. See screenshot below:

Screenshot_2020-09-28_at_10.26.11.png

2. Add the Firebase Configuration File to your Android Project:

Navigate to the "General" tab on the Project Settings page.
You should see a google-services.json link for your app at the bottom of the page. See screenshot below:

Screenshot_2020-09-28_at_10.10.01.png

Click this link to download the file. 
Move your config file into the module (app-level) directory of your app. See screenshot below:

Screenshot_2020-09-28_at_10.14.49.png

Swrve now has the required authorization to send push notifications to your app. 
For more detailed information please see the official Firebase docs here:
https://firebase.google.com/docs/android/setup

Have more questions? Submit a request

Comments

Powered by Zendesk