Zello SDK Documentation
  • Welcome and Introduction
  • Core Concepts
    • Network Credentials
    • User + Channel Provisioning
    • Background Work + Push Notifications
    • Permissions
    • Advanced Networking + Security
    • Android Firebase Integration
  • Installation Guides
    • React Native Installation Guide
    • Android Installation Guide
    • iOS Installation Guide
  • SDK Example Apps
    • Example Apps - React Native
    • Example Apps - Android
    • Example Apps - iOS
  • Code Level Docs
    • React Native Docs
    • Android Docs
    • iOS Docs
Powered by GitBook
On this page
  1. Core Concepts

Android Firebase Integration

PreviousAdvanced Networking + SecurityNextAndroid Installation Guide

Last updated 8 months ago

The Zello Android SDK uses Firebase to support push notifications. These are used both for user notifications as well as in the background to wake the application process to ensure continuous delivery of messages even while your application is not displayed on the screen. Basic functionality of the Zello SDK will work without a Firebase connection, so it is not required that you connect to a Firebase instance; however, if you do wish to connect to Firebase, you should follow the steps below

Add Google Services Plugin to Your Gradle Files

In your top-level Gradle file:

// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
	id("com.google.gms.google-services") version "4.4.1" apply false
	// Other plugins
}

In your app/module-level Gradle file:

plugins {
	id("com.google.gms.google-services") version "4.4.1"
	// Other plugins
}

Create a Firebase Project and Add Your Application

In the select “Add app” and enter your project’s package name. This will generate a google-services.json file which you will include with your project. For more detailed instructions, see the

Once you have obtained the google-services.json file, add it to the Android application module directory in your project. In other words the path will be something like: yourprojectsdirectory/yourprojectname/app/google-services.json

Firebase console
Firebase setup guide