Show Menu
TOPICS×

Step 1 - Creating Android App and configuring to use Firebase Cloud Messaging

In this part you will create Android App to receive Push notifications sent from Adobe Campaign Standard. To receive the push notifications, the 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 a Firebase account, please create one from here .
  2. Launch Android Studio
  3. Click File > New > New Project.
  4. Select Empty Activity and click Next.
  5. Provide a meaningful name to the project.
    For the purpose of this demo we have named our project as ACSPushTutorial
  6. Accept the default package names and click Finish to create your project.
  7. Your project structure should look similar to the screen shot below
  8. Click Tools > Firebase. (this adds the project to Firebase)
  9. Click Set up Firebase Cloud Messaging.
  10. Click Connect to Firebase.
  11. After your app is connected to Firebase, click Add FCM to your app.
  12. Click Accept Changes.
    When you are adding FCM to your app, the wizard needs your permission to make some changes to your project.
On successful integration of your app with Firebase, you should get a message like the one shown below:

Configure Push Channel Settings

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