AEP Mobile SDK question | Community
Skip to main content
Level 3
October 8, 2024
Solved

AEP Mobile SDK question

  • October 8, 2024
  • 1 reply
  • 943 views

Hi,

 

- Any there any best practices for implementing AEP Mobile SDK on Hybrid App? Specifically, what methods can be used to share Visitor Information(ECID) from the native screen to Web App?


- as per Adobe documentation, recommended approach for sending events is through the "sendEvent" API from the application end to capture custom Variables. Howerver, are there any downsides to using EdgeBridge Extension while continuing to rely on MobileCore.trackState and MobileCore.trackAction to pass custom data via ContextData.

Best answer by John_Man

Hi @ma1985v1 

 

SDK has API to prepare your URL for opening Web View so that ECID can be passed for visitor persistence. See below for reference,

 

https://developer.adobe.com/client-sdks/home/base/mobile-core/identity/tutorials/id-sharing/

 

But please note that the API has changed if you use the new Identity for Edge.

 

For using sendEvent, you will have to put the XDM structure in the client side code. For Edge Bridge, it's sort of a backward compatibility mechanism for app developer who want to upgrade the SDK but do not have resource to change the trackState/Action calls to the new sendEvent API.

 

 

1 reply

John_Man
Community Advisor
John_ManCommunity AdvisorAccepted solution
Community Advisor
October 9, 2024

Hi @ma1985v1 

 

SDK has API to prepare your URL for opening Web View so that ECID can be passed for visitor persistence. See below for reference,

 

https://developer.adobe.com/client-sdks/home/base/mobile-core/identity/tutorials/id-sharing/

 

But please note that the API has changed if you use the new Identity for Edge.

 

For using sendEvent, you will have to put the XDM structure in the client side code. For Edge Bridge, it's sort of a backward compatibility mechanism for app developer who want to upgrade the SDK but do not have resource to change the trackState/Action calls to the new sendEvent API.

 

 

MA1985v1Author
Level 3
October 10, 2024

thanks @john_man