PusherHub

Docs Firebase setup

Create a Firebase project

PusherHub delivers push notifications through Google's Firebase Cloud Messaging (FCM). Set up a free Firebase project and add your app to it.

5 min read

All guides
1

Open the Firebase console

Go to console.firebase.google.com and sign in with your Google account.

2

Create a project

  1. Click Get started by setting up a Firebase project (in some consoles, Create a project or Add project).
  2. Type a name — your app's name is fine.
  3. Tick I accept the Firebase terms and click Continue.
  4. Google Analytics is optional for push notifications. Leave it on or switch it off, then click Create project.
  5. When it says Your new project is ready, click Continue.
1 Project name · 2 I accept the Firebase terms · 3 Continue
3

Add your Android app

On the project's home page, under its name, click the Android icon.

1 Android · 2 iOS+ (for iPhones, in step 4)
  1. Type your Android package name — exactly the one in your app (its applicationId) and in PusherHub. The nickname is optional, and you don't need the SHA-1 for push.
  2. Click Register app.
1 Android package name · 2 Register app
  1. Click Download google-services.json.
  2. Put that file in your Android project's app folder — in Flutter and React Native, android/app.
  3. Click Next through the remaining steps and Continue to console. PusherHub's SDK steps cover the rest.
1 Download google-services.json · 2 It goes in your app folder
4

Add your iOS app (if you have one)

  1. Back on the project's home page, click Add app › the iOS+ icon.
  2. Type your Apple bundle ID — the same as in Xcode and in PusherHub — and click Register app.
  3. Click Download GoogleService-Info.plist and drag it into your Xcode project, next to Info.plist, with your app's target ticked.
1 Apple bundle ID · 2 Register app

iPhones need one more step — your Apple push key: iOS push notifications: add your Apple push key to Firebase.