Migrating to AEPAssurance(3.x) reference
This document is a reference comparison of AEPAssurance (3.x) APIs against 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)
Copied to your clipboardstatic var extensionVersion: String
AEP 3.x (Objective-C)
Copied to your clipboard+ (nonnull NSString*) extensionVersion;
AEP 1.x (Objective-C)
Copied to your clipboard+ (nonnull NSString*) extensionVersion;
Copied to your clipboardstatic var extensionVersion: String
Copied to your clipboard+ (nonnull NSString*) extensionVersion;
Copied to your clipboard+ (nonnull NSString*) extensionVersion;
startSession
AEP 3.x (Swift)
Copied to your clipboardstatic func startSession(url: URL?)
AEP 3.x (Objective-C)
Copied to your clipboard+ (void) startSessionWithUrl:(NSURL* _Nonnull) url;
AEP 1.x (Objective-C)
Copied to your clipboard+ (void) startSession: (NSURL* _Nonnull) url;
Copied to your clipboardstatic func startSession(url: URL?)
Copied to your clipboard+ (void) startSessionWithUrl:(NSURL* _Nonnull) url;
Copied to your clipboard+ (void) startSession: (NSURL* _Nonnull) url;
Follow this link for step by step migration to AEPAssurance 3.x for Swift and Objective-C iOS applications.