Skip to main content
Ce sujet a été fermé aux réponses.

22 commentaires

Kishore_Reddy
Community Advisor
Community Advisor
mars 10, 2022 8:55 AM UTC

Very useful! Thank you, @dwright-adobe 

Traduire
SumitK4
Adobe Champion
Adobe Champion
mars 16, 2022 7:39 PM UTC

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();

 

 

 

Traduire
Adobe Employee
mars 18, 2022 2:27 PM UTC

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);

 

 

Traduire
SumitK4
Adobe Champion
Adobe Champion
mars 18, 2022 10:40 PM UTC

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. ?

Traduire
août 22, 2022 10:40 AM UTC

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.

Traduire
Adobe Employee
sept. 8, 2022 5:44 PM UTC

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

Traduire
Pradeep_Kumar_Srivastav
Community Advisor
Community Advisor
nov. 29, 2022 12:28 AM UTC

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!

Traduire
Manoj_Kumar
Community Advisor
Community Advisor
nov. 21, 2023 1:05 AM UTC

@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.

Traduire
Manoj  | https://themartech.pro
Adobe Employee
nov. 21, 2023 3:32 PM UTC

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

Traduire
Manoj_Kumar
Community Advisor
Community Advisor
nov. 22, 2023 5:36 AM UTC

Thanks for the update @dwright-adobe 

 

 

Traduire
Manoj  | https://themartech.pro
oct. 7, 2025 10:29 AM UTC

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!

Traduire
Adobe Employee
oct. 7, 2025 1:32 PM UTC

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
Traduire
oct. 7, 2025 1:44 PM UTC

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

Traduire