Show Menu

Creating Android App and Configuring to use Firebase Cloud Messaging

In this part we will create Android App to receive push notifications sent from Adobe Campaign Standard.In order to receive the push notifications, app needs to be registered with Google's Firebase Cloud Service.
  1. Login to your Firebase account. Firebase is Google's mobile platform that helps you quickly develop high-quality apps. If you do not have Firebase account, please create one from here .
  2. Launch Android Studio
  3. Click on File -> New -> New Project
  4. Select Empty Activity and click Next
  1. Provide a meaningful name to the project. For the purpose of this demo we have named our project as "ACSPushTutorial"
  1. Accept the default package names and click on Finish to create your project.
  2. Your project structure should look similar to the screen shot below
  1. Click on Tools ->Firebase(This adds the project to Firebase)
  2. Click on Set up Firebase Cloud Messaging
  1. Click on
    Connect to Firebase
  2. After your app is connected to Firebase, click on
    Add FCM to your app
  3. When you are adding FCM to your app the wizard will need your permission to make some changes to your project.Click on
    Accept Changes
  1. On successful integration of your app with Firebase, you should get a message like shown below

Configure Push Channel Settings

  1. Login to Firebase console
  2. Open the
    project. Click on the gear icon and open the project settings
  1. Tab to the
    Cloud Messaging
    tab. Copy the server key
  1. Login to your Adobe Campaign Standard instance
  2. Click on Adobe Campaign -> Administration->Channels->Mobile App
  3. Select the appropriate Mobile Application Property
  4. Click on the Android icon in the Push Channel settings section
  5. Paste the server key in the Server key field. Everything goes well you should see a SUCCESS message.
To summarize, we have created Android App and connected the Android App with Firebase. We then connected the Mobile App with the Android App by pasting the Android App's server key in to the Mobile App in Adobe Campaign Standard.