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.

    android-project

  5. Provide a meaningful name to the project.

    For the purpose of this demo we have named our project as ACSPushTutorial

    android-project-configuration

  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

    android-project-structure

  8. Click Tools > Firebase. (this adds the project to Firebase)

  9. Click Set up Firebase Cloud Messaging.

    setup firebase

  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.

    add-fcm-to-your-app

On successful integration of your app with Firebase, you should get a message like the one shown below:

fcm-successfull

Make sure your project is listed in Firebase console

Configure Push Channel Settings

  1. Login to Firebase console

  2. Open the ACSPushTutorial project.

  3. Click the gear icon and open the project settings

    project-settings

  4. Tab to the Cloud Messaging tab.

  5. Copy the server key

    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.

push-channel-settings

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.

recommendation-more-help
1e5f790f-a0c6-45cc-9e9a-a41393306233