Edit in GitHubLog an issue

Migrating to AEPCampaign reference

This document is a reference comparison of ACPCampaign (1.x) APIs against their equivalent APIs in AEPCampaign (3.x) for an iOS mobile application implementation.

The AEPCampaign extension is implemented purely in Swift and is compatible with the AEPCore Swift SDK. To ensure a smooth transition from the ACPCampaign 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 an info hint within that API's section.

AEPCampaign classes

TypeAEP (3.x)AEP 3.x (Objective-C)ACP (1.x)
Primary Class (Module)
Campaign
AEPMobileCampaign
ACPCampaign

AEPCampaign APIs

extensionVersion

Copied to your clipboard
static var extensionVersion: String

registerExtension

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

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

resetLinkageFields

Copied to your clipboard
static func resetLinkageFields()

setLinkageFields

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