Identity for Edge Network
The Adobe Experience Platform Identity mobile extension enables identity management from your mobile app when using the Adobe Experience Platform Mobile SDK and the Edge Network extension.

Configure the Adobe Experience Platform Identity extension in the Data Collection UI

  1. 1.
    In Data Collection UI, in your mobile property, select the Extensions tab.
  2. 2.
    On the Catalog tab, locate or search for the Identity extension, and select Install.
  3. 3.
    There are no configuration settings for Identity.
  4. 4.
    Select Save.
  5. 5.
    Follow the publishing process to update SDK configuration.
AEP Identity for Edge Network extension configuration

Add the AEP Identity extension to your app

Download and import the Identity extension

The following instructions are for configuring an application using Adobe Experience Platform Edge mobile extensions. If an application will include both Edge Network and Adobe Solution extensions, both the Identity for Edge Network and Identity for Experience Cloud ID Service extensions are required. Find more details in the frequently asked questions.
When using the setAdvertisingIdentifier API, see the setup guide for AEP Consent for Edge Network for instructions on setting up the extension and profile schema for proper usage.
Android
iOS (AEP 3.x)
iOS (ACP 2.x)
  1. 1.
    Add the Mobile Core and Edge extensions to your project using the app's Gradle file.
    1
    implementation 'com.adobe.marketing.mobile:core:1.+'
    2
    implementation 'com.adobe.marketing.mobile:edge:1.+'
    3
    implementation 'com.adobe.marketing.mobile:edgeidentity:1.+'
    4
    implementation 'com.adobe.marketing.mobile:edgeconsent:1.+' // Recommended when using the setAdvertisingIdentifier API
    Copied!
  2. 2.
    Import the Mobile Core and Edge extensions in your Application class.

Java

1
import com.adobe.marketing.mobile.MobileCore;
2
import com.adobe.marketing.mobile.Edge;
3
import com.adobe.marketing.mobile.edge.identity.Identity;
4
import com.adobe.marketing.mobile.edge.consent.Consent;
Copied!

Kotlin

1
import com.adobe.marketing.mobile.MobileCore
2
import com.adobe.marketing.mobile.Edge
3
import com.adobe.marketing.mobile.edge.identity.Identity
4
import com.adobe.marketing.mobile.edge.consent.Consent
Copied!
  1. 1.
    Add the Mobile Core and Edge extensions to your project using CocoaPods. Add following pods in your Podfile:
    1
    use_frameworks!
    2
    target 'YourTargetApp' do
    3
    pod 'AEPCore'
    4
    pod 'AEPEdge'
    5
    pod 'AEPEdgeIdentity'
    6
    pod 'AEPEdgeConsent' // Recommended when using the setAdvertisingIdentifier API
    7
    end
    Copied!
  2. 2.
    Import the Mobile Core and Edge libraries:

Swift

1
// AppDelegate.swift
2
import AEPCore
3
import AEPEdge
4
import AEPEdgeIdentity
5
import AEPEdgeConsent
Copied!

Objective-C

1
// AppDelegate.h
2
@import AEPCore;
3
@import AEPEdge;
4
@import AEPEdgeIdentity;
5
@import AEPEdgeConsent;
Copied!
This extension is built on the AEPCore (3.x) and it is not compatible with ACPCore (2.x). Please follow the guide for migrating to the Swift AEPCore.

Register the Identity extension with Mobile Core

Android
iOS (AEP 3.x)

Java

1
public class MobileApp extends Application {
2
3
@Override
4
public void onCreate() {
5
super.onCreate();
6
MobileCore.setApplication(this);
7
try {
8
Edge.registerExtension();
9
Identity.registerExtension();
10
Consent.registerExtension();
11
// Register other extensions here
12
MobileCore.start(new AdobeCallback () {
13
@Override
14
public void call(Object o) {
15
MobileCore.configureWithAppID("yourAppId");
16
}
17
});
18
19
} catch (Exception e) {
20
...
21
}
22
23
24
}
25
}
Copied!

Swift

1
// AppDelegate.swift
2
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
3
MobileCore.registerExtensions([Identity.self, Consent.self, Edge.self], {
4
MobileCore.configureWith(appId: "yourLaunchEnvironmentID")
5
})
6
...
7
}
Copied!

Objective-C

1
// AppDelegate.m
2
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
3
[AEPMobileCore registerExtensions:@[AEPMobileEdgeIdentity.class, AEPMobileEdgeConsent.class, AEPMobileEdge.class] completion:^{
4
...
5
}];
6
[AEPMobileCore configureWithAppId: @"yourLaunchEnvironmentID"];
7
...
8
}
Copied!

Advertising identifier

The Edge Identity extension compares the previously stored advertising identifier value with the new value received from the setAdvertisingIdentifier API and handles the following scenarios:
Ad tracking enabled - when the new value sent to the API is:
  • A valid UUID string (example: "a127a99e-50be-4d87-bf6f-6ab9541c105b")
Process:
  1. 1.
    Updates the client side XDM IdentityMap with the new value for IDFA/GAID, which is included in subsequent XDM Experience events. For more details, see the standard Identity namespaces.
  2. 2.
    Sends a consent update event with ad ID consent preferences set to yes (only when a valid ad ID is absent from the IdentityMap and the Edge Consent extension is registered and properly configured).
Ad tracking disabled - Given a valid ad ID already exists in the IdentityMap, and the new value sent to the API is:
  • null/nil
  • Empty string ("")
  • All-zeros string ("00000000-0000-0000-0000-000000000000")
Process:
  1. 1.
    Removes the ad ID from the client side XDM IdentityMap, which is removed from subsequent XDM Experience events.
  2. 2.
    Sends a consent update event with ad ID consent preferences set to no (only when the Edge Consent extension is registered and properly configured).
No operations are executed when no changes are detected between the previously stored and new ad ID value.