Edit in GitHubLog an issue

Lifecycle for Edge Network

The Adobe Experience Platform Mobile SDK Lifecycle extension enables application lifecycle data collection from your mobile app when using the Adobe Experience Platform Mobile SDK and the Edge Network extension. Use the following steps to set up an application to forward Lifecycle extension metrics to the Adobe Experience Platform.

Add AEP Mobile Lifecycle Details field group to your XDM Schema in Adobe Experience Platform

Include the "AEP Mobile Lifecycle Details" field group to the schema defined in your Edge configuration data stream. This field group defines all the metrics auto-collected by the Lifecycle for Edge Network extension.

  1. In Adobe Experience Platform, log in to your organization.
  2. Under Schemas section, select the Browse tab and search for the schema used in the application's Edge configuration.
  3. In the Field groups section, select Add.
  4. Search for AEP Mobile Lifecycle Details. Select it, then select Add field groups.
  5. Select Save.

add mobile lifecycle details

Configure the Adobe Experience Platform Lifecycle extension in Data Collection UI

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

In addition, use the following steps to Configure the Edge Network extension.

Mobile Core extension configuration

Configure a Rule to forward Lifecycle metrics to Platform

The Lifecycle for Edge Network extension dispatches application foreground and background events to the Mobile SDK. Create a rule to forward these events to the Adobe Experience Platform Edge Network.

Create a rule

  1. On the Rules tab, select Create New Rule.

  2. Give your rule an easily recognizable name in your list of rules.

    In this example, the rule is named "Forward Lifecycle XDM events to Edge Network".

Select an event

  1. Under the Events section, select Add.
  2. From the Extension dropdown list, select Mobile Core.
  3. From the Event Type dropdown list, select Foreground.
  4. Select Keep Changes.
  5. Under the Events section again, select the plus icon to add another Event.
  6. From the Extension dropdown list, select Mobile Core.
  7. From the Event Type dropdown list, select Background.
  8. Select Keep Changes.

select event

Define the action

  1. Under the Actions section, select Add.
  2. From the Extension dropdown list, select Adobe Experience Platform Edge Network.
  3. From the Action Type dropdown list, select Forward event to Edge Network.
  4. Select Keep Changes.

define action

Save the rule and rebuild your property

After you complete your configuration, verify that your rule looks like the following:

save rule

  1. Select Save.
  2. Rebuild your mobile property and deploy it to the correct environment.

Add the Lifecycle extension to your app

For implementation details, please reference the Lifecycle documentation to learn how to add Lifecycle to your app. as well as register Lifecycle with Mobile Core and add appropriate the Start/Pause calls.

In addition, use the following steps to add the Edge Network extension to your app.

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.