Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

ADBMobile.collectLifecycleData(withAdditionalData: ) in the AEP.

Avatar

Avatar
Level 1
aetsyss
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
aetsyss
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
aetsyss
Level 1

23-02-2021

Hi guys,

 

I'm migrating my iOS app from the Adobe Analytics to the Adobe Experience Platform.

Previously I used ADBMobile.collectLifecycleData(withAdditionalData: ) to provide some additional data. Which API should I use to achieve the same result in the AEP?

I see there is the ACPCore.lifecycleStart(data) which I'm calling in the beginning when I'm initializing the library. But what if I need to provide additional data later on?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 3
Employee
Kevin_Lind
Employee

Like

1 like

Total Posts

5 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Engage 1
Boost 1
Affirm 1
View profile

Avatar
Affirm 3
Employee
Kevin_Lind
Employee

Like

1 like

Total Posts

5 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Engage 1
Boost 1
Affirm 1
View profile
Kevin_Lind
Employee

23-02-2021

Hi @aetsyss 

 

ACPCore.lifecycleStart(data) is the correct API to use when migrating from ADBMobile.collectLifecycleData(withAdditionalData:). Here's the documentation which lists the API changes between the Experience Platform SDKs and 4x SDKs, https://aep-sdks.gitbook.io/docs/api-change-log#lifecycle-extension-apis.  Also, here's the documentation for lifecycleStart(data), https://aep-sdks.gitbook.io/docs/using-mobile-extensions/mobile-core/lifecycle/lifecycle-extension-i...

 

I would also encourage you to look at using our latest mobile SDK for iOS written in Swift, if you are not already. If you are planning on sending data to the AEP Edge Network, you will need to use the AEP Core SDK with the AEP Edge extension. https://aep-sdks.gitbook.io/docs/v/AEP-Edge-Docs/getting-started/get-the-sdk#swift-objective-c

 

Thanks,

Kevin Lind

Answers (0)