Tutorial Discussion: Implement Adobe Experience Cloud in mobile apps | Community
Skip to main content

6 replies

Kishore_Reddy
Community Advisor
Community Advisor
March 10, 2022

Very useful! Thank you, @dwright-adobe 

Adobe Champion
March 16, 2022

Could you pls provide equivalent android Java code for the below code.

 

let stateName = "luma: content: ios: us: en: home" var xdmData: [String: Any] = [:] //Page View xdmData["_techmarketingdemos"] = [ "appInformation": [ "appStateDetails": [ "screenType": "App", "screenName": stateName, "screenView": [ "value": 1 ] ] ] ] let experienceEvent = ExperienceEvent(xdm: xdmData) Edge.sendEvent(experienceEvent: experienceEvent)

 

 

Map<String, Object> XdmData = new HashMap<>(); ?????????????? ???????????? ExperienceEvent experienceEvent = new ExperienceEvent.Builder() .setXdmSchema(xdmData) .build();

 

 

 

Adobe Employee
March 18, 2022

Hi @sumitk4 , We hope to provide more Android content in the future. I think what you are looking for can be found in the Mobile SDK documentation:

https://aep-sdks.gitbook.io/docs/getting-started/initialize-the-sdk

 

Map<String, Object> reviewXdmData = new HashMap<>();
reviewXdmData.put("productSku", "demo123");
reviewXdmData.put("rating", 5);
reviewXdmData.put("reviewText", "I love this demo!");
reviewXdmData.put("reviewerId", "Anonymous user");

Map<String, Object> xdmData = new HashMap<>();
xdmData.put("eventType", "MyFirstXDMExperienceEvent");
xdmData.put(_yourTenantId, reviewXdmData);

ExperienceEvent experienceEvent = new ExperienceEvent.Builder()
                .setXdmSchema(xdmData)
                .build();
Edge.sendEvent(experienceEvent, null);

 

 

Adobe Champion
March 18, 2022

Thanks @dwright-adobe additional question- So is it correct to say to use edge n/w:---

 

1)Is it recommended to use Identity extension to set up custom identity in app?

2)Is it good to have lifecycle extension. ?

3) Consent extension is optional. ?

3) Profile extension is also optional. ?

August 22, 2022

Hi Dwright,

 

we're having trouble with the adobe_mc parameters in webviews to get the ECID in Android, this is an example of the parameter passed to the webview URL: 

TS%3D1660981679%7CMCMID%3D67579004973751132215752525457293482498%7CMCORGID%[...]%40AdobeOrg

 

where on iOS we have it decoded: 

TS=1660985964|MCMID=25673402669707913044806099111595030088|MCORGID=[...]@AdobeOrg

 

As far as i know the encoded parameter should work, but till now only in iOS the Api is getting the MCMID ID.

This is the only difference we have noticed  in the two systems. This two datas are taken from an eVar on the pageview beacon.

 

Regards

G.

Adobe Employee
September 8, 2022

Hi,

Just got back from vacation and saw your note. Please let me know if I am understanding your question correctly.

  1. You went through the Web Views lesson of the tutorial in which you pass the identity values to the html page as query string parameters: https://experienceleague.adobe.com/docs/platform-learn/implement-mobile-sdk/app-implementation/web-views.html
  2. You were able to validate that things were working correctly in iOS
  3. You tried to do the same in a separate Android app (not part of the tutorial). You are not seeing the query string params with the identities being passed in your evars?

D

Pradeep_Kumar_Srivastav
Community Advisor
Community Advisor
November 29, 2022

Hi @dwright-adobe  , When can we expect in-app messaging to be released? I know that it is in beta but, Is there any release date?

 

Thanks!

_Manoj_Kumar_
Community Advisor
Community Advisor
November 21, 2023

@dwright-adobe 

Do we need to do additional configuration for rendering images when using images in the push notifications? The images are not working for us.

I don't see any specific code to render images in the SampleApp.

     Manoj     Find me on LinkedIn
Adobe Employee
November 21, 2023

Hi @_manoj_kumar_ ,

We will actually be launching a new version of the tutorial with a new sample app tomorrow. Would you mind trying the push notification lesson on the new tutorial?


Daniel

_Manoj_Kumar_
Community Advisor
Community Advisor
November 22, 2023

Thanks for the update @dwright-adobe 

 

 

     Manoj     Find me on LinkedIn
October 7, 2025

Hi Team,

I’m working on Adobe Experience Platform Mobile SDK  and I’m observing that the ECID’s authenticatedState always remains “ambiguous”, even when I explicitly update it using Identity.updateIdentities().

Identity.getIdentities { adobeIdentityMap ->
val identityMap = IdentityMap()

val ecidItem = adobeIdentityMap
.getIdentityItemsForNamespace("ECID")
?.firstOrNull()

ecidItem?.id?.let { ecid ->
identityMap.addItem(
IdentityItem(ecid, AuthenticatedState.LOGGED_OUT, true),
"ECID"
)
}

identityMap.addItem(
IdentityItem("8772242737", AuthenticatedState.LOGGED_OUT, true),
"customer_id"
)

Identity.updateIdentities(identityMap)
}


 

n the Edge logs (Griffon / AEP Debugger), I see:


"identityMap": {
"ECID": [{
"id": "50671253568725123056684606969133922995",
"authenticatedState": "ambiguous"
}],
"customer_id": [{
"id": "8772242737",
"authenticatedState": "loggedOut"
}]
}


My questions are:

  1. Why does the ECID remain ambiguous even after explicitly setting AuthenticatedState.LOGGED_OUT?

  2. Is the ECID’s authentication state controlled internally by the SDK and not meant to be changed manually?

  3. Is there any official documentation stating that ECID’s authenticatedState should always remain “ambiguous” in mobile SDKs, while user-specific IDs (like customer_id) should carry the login/logout state?

This is critical for ensuring we send accurate identity data in login/logout flows.

Thanks in advance!

Adobe Employee
October 7, 2025

The docs clearly state that you cannot update identities for specific reserved namespaces, like ECID. See https://developer.adobe.com/client-sdks/edge/identity-for-edge-network/api-reference/#authenticatedstate

Updating identities using a reserved namespace is not allowed using this API. The reserved namespaces are:

  • ECID
  • IDFA
  • GAID
October 7, 2025

@ridmaur-1 Thanks for sharing the docs, It's helps!.