Edit in GitHubLog an issue

Adobe Campaign Classic - push templates

This document outlines out of the box push templates supported in Adobe Campaign Classic extension.

Template NameAvailabilityDescription
Android - v2.1.0+
iOS - coming soon
A basic push notification template.
Allows setting a title, message body, and optional image, action buttons, and click-through URL. Also supports a "remind me later" functionality which will schedule the notification to be re-delivered at a later time.
Android - v2.1.0+
iOS - coming soon
Shows a series of three (3) to five (5) images that scroll on and off the side of the notification.
Available in manual mode (user must click a button to scroll carousel items) and auto mode (carousel items scroll every five seconds).

Setup

In order for the SDK to handle these push templates, the application must call AEPMessagingService.handleRemoteMessage from onMessageReceived in the class implementing FirebaseMessagingService.

Below is an example of where to call the new API:

Copied to your clipboard
public class MyFirebaseMessagingService extends FirebaseMessagingService {
@Override
public void onMessageReceived(RemoteMessage remoteMessage) {
if (AEPMessagingService.handleRemoteMessage(this, remoteMessage)) {
// Campaign extension has handled the notification
} else {
// Handle notification from other sources
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.