Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 1.83 KB

File metadata and controls

60 lines (45 loc) · 1.83 KB

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

{% tabs %} {% tab title="AEP 3.x (Swift)" %}

static var extensionVersion: String

{% endtab %}

{% tab title="AEP 3.x (Objective-C)" %}

+ (nonnull NSString*) extensionVersion;

{% endtab %}

{% tab title="AEP 1.x (Objective-C)" %}

+ (nonnull NSString*) extensionVersion;

{% endtab %} {% endtabs %}

startSession

{% tabs %} {% tab title="AEP 3.x (Swift)" %}

static func startSession(url: URL?)

{% endtab %}

{% tab title="AEP 3.x (Objective-C)" %}

+ (void) startSessionWithUrl:(NSURL* _Nonnull) url;

{% endtab %}

{% tab title="AEP 1.x (Objective-C)" %}

+ (void) startSession: (NSURL* _Nonnull) url;

{% endtab %} {% endtabs %}

Follow this link for step by step migration to AEPAssurance 3.x for Swift and Objective-C iOS applications.