Adobe Experience Platform Edge Network

Before starting

Install Identity for Edge Network

The Adobe Experience Platform Edge Network extension requires the Identity for Edge Network extension in order to operate. As a first step install and configure the Identity for Edge Network extension, then continue with the steps below.

Configure the Edge Network extension in Platform

    1.
    In Experience Platform, in your mobile property, click the Extensions tab.
    2.
    On the Catalog tab, locate or search for the Adobe Experience Platform Edge Network extension, and click Install.
    3.
    Type in the extension settings. For more information, see Configure datastreams and datastreams.
    4.
    Click Save.
    5.
    Follow the publishing process to update SDK configuration.

Configure the Edge Network extension

Edge Network extension configuration

Datastreams

Select the Edge Configuration from the drop-down list. Once you do that, the Production, Staging and Development Environments will be automatically prefilled. If no Edge configuration was previously created, see Configure datastreams.
If you use multiple Development configurations, select the desired one from the Development Environment drop-down.
The Edge configuration used by the client-side implementation is one of the followings:
    the Production Environment configuration when the Launch library is published to production (in the Published column in the Launch publishing flow).
    theStaging Environment configuration when the Launch library is published to staging (in the Submitted column in the Launch publishing flow).
    the Development Environment configuration when the Launch library is in development.

Add the Edge Network extension to your app

Download and import the Edge extension

Android
iOS (AEP 3.x)
iOS (ACP 2.x)

Java

    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.+'
    Copied!
    2.
    Import the Mobile Core and Edge extensions in your application class.
    1
    import com.adobe.marketing.mobile.*;
    Copied!
    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
    end
    Copied!
    2.
    Import the Mobile Core and Edge libraries:

Swift

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

Objective-C

1
// AppDelegate.h
2
@import AEPCore;
3
@import AEPEdge;
4
@import AEPEdgeIdentity;
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 Edge 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
MobileCore.configureWithAppID("yourAppId");
8
9
try {
10
Edge.registerExtension();
11
com.adobe.marketing.mobile.edge.identity.Identity.registerExtension();
12
MobileCore.start(new AdobeCallback() {
13
@Override
14
public void call(final Object o) {
15
// processing after start
16
}});
17
} catch (Exception e) {
18
//Log the exception
19
}
20
}
21
}
Copied!

Swift

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

Objective-C

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

Next steps

Install other extensions based on your use-case:
    1.
    If your application requires user consent preferences collection and enforcement, install and configure the Consent for Edge Network extension.
    2.
    Lifecycle extension now supports application lifecycle metrics collection for Edge Network. If you would like to start collecting this type of data, follow the installation instruction for Lifecycle for Edge Network.
    3.
    If your application uses push notifications, see also the Adobe Journey Optimizer extension.

Configuration keys

To update the SDK configuration programmatically, use the following information to change the Edge configuration values.
Key
Required
Description
Data Type
edge.configId
Yes
String
Last modified 14d ago