Migrating to AEPAssurance(3.x) reference
This document is a reference comparison of AEPAssurance (3.x) APIs agains against their equivalent AEPAssurance (1.x) APIs.
The AEPAssurance (3.x) extension is implemented purely in Swift and is compatible with the AEPCore swift SDK. To ensure a smooth transition from the AEPAssurance (1.x) 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.

Public classes

Type
AEP 3.x (Swift)
AEP 3.x (Objective-C)
AEP 1.x (Objective-C)
Primary Class
Assurance
AEPMobileAssurance
AEPAssurance

Public APIs

extensionVersion

AEP 3.x (Swift)
AEP 3.x (Objective-C)
AEP 1.x (Objective-C)
1
static var extensionVersion: String
Copied!
1
+ (nonnull NSString*) extensionVersion;
Copied!
1
+ (nonnull NSString*) extensionVersion;
Copied!

startSession

AEP 3.x (Swift)
AEP 3.x (Objective-C)
AEP 1.x (Objective-C)
1
static func startSession(url: URL?)
Copied!
1
+ (void) startSessionWithUrl:(NSURL* _Nonnull) url;
Copied!
1
+ (void) startSession: (NSURL* _Nonnull) url;
Copied!
Follow this link for step by step migration to AEPAssurance 3.x for Swift and Objective-C iOS applications.
Last modified 1mo ago