Adobe Experience Platform Edge Network

Configure the Edge Network extension in Launch

  1. In Experience Platform Launch, 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

    1. For more information, see Configure datastreams and datastreams.

  4. Click Save.

  5. Follow the publishing process to update SDK configuration.

Configure the AEP Edge Network extension

Adobe 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 Developement Environment configuration when the Launch library is in development.

Add the AEP Edge extension to your app

Download and import the Edge extension

Android
iOS — Swift
Android

Java

  1. Add the Mobile Core and Edge extensions to your project using the app's Gradle file.

    implementation 'com.adobe.marketing.mobile:sdk-core:1.+'
    implementation 'com.adobe.marketing.mobile:edge:1.+'
  2. Import the Mobile Core and Edge extensions in your application class.

    import com.adobe.marketing.mobile.*;
iOS — Swift
  1. Add the Mobile Core and Edge extensions to your project using Cocoapods. Add following pods in your Podfile:

    use_frameworks!
    target 'YourTargetApp' do
    pod 'AEPCore'
    pod 'AEPLifecycle'
    pod 'AEPIdentity'
    pod 'AEPSignal'
    pod 'AEPEdge'
    end
  2. Import the Mobile Core and Edge libraries:

Swift

// AppDelegate.swift
import AEPCore
import AEPEdge
import AEPIdentity
import AEPLifecycle
import AEPSignal

Objective-C

// AppDelegate.h
@import AEPCore;
@import AEPEdge;
@import AEPIdentity;
@import AEPLifecycle;
@import AEPSignal;

Register Edge with Mobile Core

Android
iOS — Swift
Android

Java

public class MobileApp extends Application {
@Override
public void onCreate() {
super.onCreate();
MobileCore.setApplication(this);
MobileCore.configureWithAppID("yourAppId");
try {
Edge.registerExtension(); //Register Edge with Mobile Core
Identity.registerExtension();
Lifecycle.registerExtension();
Signal.registerExtension();
MobileCore.start(new AdobeCallback() {
@Override
public void call(final Object o) {
// processing after start
}});
} catch (Exception e) {
//Log the exception
}
}
}
iOS — Swift

Swift

// AppDelegate.swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
MobileCore.registerExtensions([Lifecycle.self, Identity.self, Signal.self, Edge.self], {
MobileCore.configureWith(appId: "yourAppId")
})
...
}

Objective-C

// AppDelegate.m
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[AEPMobileCore registerExtensions:@[AEPMobileIdentity.class, AEPMobileLifecycle.class, AEPMobileSignal.class, AEPMobileEdge.class] completion:^{
...
}];
[AEPMobileCore configureWithAppId: @"yourAppId"];
...
}

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

See datastreams

String