Skip to content

Latest commit

 

History

History
 
 

identity-for-edge-network

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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 Experience Platform Launch

  1. In Experience Platform Launch, in your mobile property, click the Extensions tab.
  2. On the Catalog tab, locate or search for the Identity extension, and click Install.
  3. There are no configuration settings for Identity.
  4. Click Save.
  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

{% hint style="info" %} 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 page. {% endhint %}

{% tabs %} {% tab title="Android" %}

Java

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

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

     import com.adobe.marketing.mobile.*;
  3. 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 'AEPEdge'
        pod 'AEPEdgeIdentity'
    end
  4. Import the Mobile Core and Edge libraries: {% endtab %}

{% tab title="iOS — Swift" %}

Swift

// AppDelegate.swift
import AEPCore
import AEPEdge
import AEPEdgeIdentity

Objective-C

// AppDelegate.h
@import AEPCore;
@import AEPEdge;
@import AEPEdgeIdentity;

{% endtab %} {% endtabs %}

Register the Identity extension with Mobile Core

{% tabs %} {% tab title="Android" %}

Java

public class MobileApp extends Application {

    @Override
    public void onCreate() {
      super.onCreate();
      MobileCore.setApplication(this);
      MobileCore.configureWithAppID("yourLaunchEnvironmentID");

      Edge.registerExtension();
      Identity.registerExtension();
      MobileCore.start(new AdobeCallback() {
        @Override
        public void call(final Object o) {
          // processing after start
        }});
    }
}

{% endtab %}

{% tab title="iOS — Swift" %}

Swift

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

Objective-C

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

{% endtab %} {% endtabs %}