UnifiedPush Server
  • Documentation
  • GitHub
  • Help

›Configuring Variants

Introduction

  • Overview
  • Useful Terminology
  • Push Notifications
  • How the UnifiedPush Server works
  • Use-cases and scenarios

Running Unified Push

  • Running Unified Push
  • JMS Broker Configuration

Configuring Variants

  • Getting Started
  • Android Variant
  • iOS Variant
  • WebPush Variant

Configuring Clients

  • Android Client
  • iOS Client
  • Webpush Client
  • React Native Client
  • Cordova Client

Unified Push Server SDK

  • Java Sender API
  • Node Sender API
  • RESTful Sender API

Maintaining Unified Push

  • Maintaining Unified Push

Android Variant

Obtaining Firebase Cloud Messaging Credentials

Before the Android application is able to receive notifications, you must set up access to Firebase Cloud Messaging. You also need an emulator with Google Services or an Android device. This section shows you how to obtain the Server key and the Sender ID from Firebase Cloud Messaging for configuring Unified Push.

Start by opening the Firebase Console.

  1. If you haven't created a project in the firebase console, please do so.

  2. In your project side bar, click on the gear icon in the navigation column by "Project Overview" to open a menu. Select "Project settings" from that menu.

Project Number

  1. On the Project Settings screen, switch to the Cloud Messaging tab, where you can find the Server key and Sender ID. Make a note of these values, we will use them to configure the variant in the next section.

Retrieve Credentials

Configure the Variant

With all the Google work being done, we are now ready to setup the UnifiedPush Server, so that it can be used to connect to FCM for later message sending.

In the wizard after you create a PushApplication, click the Add Variant button and fill out the Android options. You will want to use the Server Key and Sender ID obtained from the Firebase Console in their appropriate fields:

Android Variant Options

Afterwards you will see some code snippets, containing the Variant ID and Secret, that you can use in your Android application for the registration of the device, running your app:

Android Variant Details

Unified Push is now configured, configuring the Android client is covered in the client guide.

← Getting StartediOS Variant →
  • Obtaining Firebase Cloud Messaging Credentials
  • Configure the Variant
Docs
Getting Started
Community
HelpAeroGear mailing listStack Overflow
Social
UnifiedPush Server
Follow @aerogears
Copyright © 2020 the AeroGear team