Skip to main content

Firebase Push Notification Setup Guide for Merchants - Android

A step-by-step guide on creating a Firebase account, downloading google-services.json, and obtaining Firebase JSON for push notifications on Android.

Vikash Jha avatar
Written by Vikash Jha
Updated over 3 weeks ago

This document provides a step-by-step guide on how to create a Firebase account, generate and download google-services.json for Android, and obtain the Firebase JSON from Manage Service Accounts for enabling push notifications.

Creating a Firebase Account

  • Sign Up for Firebase.

  • Sign in with your Google account.

  • Click on 'Create a Project'.

  • Enter a Project Name and click Continue.

  • Configure Google Analytics (optional) and click Create Project.

  • Once the project is created, click Continue.

Generating and Downloading google-services.json for Android

  • In the Firebase Console, select your project.

  • Click on the Gear Icon → Project Settings.

  • Navigate to the General tab and click Add App under 'Your Apps'.

  • Select Android and enter your app’s Package Name (this should match your app’s package name in your app builder).

  • Click Register App.

  • Once registered, click Download google-services.json.

Getting Firebase JSON for Push Notifications

  • In the Firebase Console, go to Project Settings.

  • Navigate to the Service Accounts tab.

  • Click Manage Service Accounts.

  • Click Generate New Private Key.

  • A JSON file will be downloaded to your system.

  • Save this file securely; it is required for push notifications.

Did this answer your question?