Android Push Notifications

Android notifications require a free Google Firebase account. This is where you get your API and sender ID used to send the notifications.

PLEASE NOTE: The google-services.json file is a different file to your Google Play Services API Key. The google-services.json file created in this doc is used within your app to connect to firebase and facilitate Android Push Notifications and is normally labelled google-services.json. The Google Play Services API Key is used on our build server to facilitate sending your completed app to Google Play and will usually take the form of a file name like "api-1234567890.json". Mixing up these two files will cause errors.

Start Here

Do you have an existing Google Project? Follow one of the options below:

Yes, Step 1: add Firebase to an existing project
No, Step 2: create a new Firebase project by continuing below.
Step 3: If you only need to add google-services.json to an existing Firebase project, start below on "Getting your google-services.json File."

Step 1: Adding Firebase to an Existing Google Project

First, login to the Firebase console.

Click 'Add project'
Click the dropdown arrow
Select your existing project
Press 'Add Firebase'

Continue to the next step of  Getting your Project Settings.

Step 2: Setting up a new Firebase project

First,  create your Firebase account.

Next, login to  the Firebase console.

Click "Create Project" and give it a name.

Continue to the next step of Getting your Project Settings.

Getting your Project Settings

Next, click the gear icon at the top left, and go to Project Settings.

Click the "Cloud Messaging" tab, and you will see your server key and sender ID.

Copy these credentials. Go to your AppPresser dashboard and go to My App => Push Notifications. Enter these credentials for the Android settings.

Step 3: Getting your google-services.json File

In your Firebase project, click back to the "General" tab in the same settings area or by clicking on the gear icon if you are returning from a different page and need to return back to the settings area.

Click the "Add Firebase to your Android app"

Enter your app's package name.  See the next image on where to get the Android package name.

Where to find your Android Package Name

Go to your app on and customize your app, under the settings tab locate the App ID.  Use this app id as the package name in the step above.

Press the "Register App" to continue.

The App ID and package name pictured above must match!

Download your google-services.json

Go back to your AppPresser dashboard and go to My App => Push Notifications. Upload the google-services.json file. 

It would be a good idea to save your google-services.json file with your iOS certificates as a backup.

Save this profile, and Android notifications are ready to go. To test them on your device, rebuild your app with "enable notifications" checked.