Edit in GitHubLog an issue

Migrating to AEPCampaignClassic reference

This document is a reference comparison of AEPCampaignClassic (3.x) APIs against their equivalent APIs in ACPCampaignClassic (2.x) for an iOS mobile application implementation.

The AEPCampaignClassic extension is implemented purely in Swift and is compatible with the AEPCore Swift SDK. To ensure a smooth transition from the ACPCampaignClassic SDK, there are no major changes on the API names or definition. For more details, follow the migration guide below for your Swift or Objective-C mobile application. If explanation beyond showing API differences is necessary, it will be captured as a note within that API's section.

AEPCampaignClassic classes

TypeAEP (3.x)AEP 3.x (Objective-C)ACP (2.x)
Primary Class (Module)
CampaignClassic
AEPMobileCampaignClassic
ACPCampaignClassic

AEPCampaignClassic APIs

extensionVersion

Copied to your clipboard
static var extensionVersion: String

registerExtension

Registration occurs by passing CampaignClassic to the MobileCore.registerExtensions API.

Copied to your clipboard
MobileCore.registerExtensions([CampaignClassic.self])

registerDevice

Copied to your clipboard
static func registerDevice(token: Data, userKey: String?, additionalParameters: [String: Any]?)

trackNotificationClick

Copied to your clipboard
static func trackNotificationClick(withUserInfo userInfo: [AnyHashable: Any])

trackNotificationReceive

Copied to your clipboard
static func trackNotificationReceive(withUserInfo userInfo: [AnyHashable: Any])
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.