Adobe Target sending wrong experience to mobile app
Hi everyone,
we are trying to integrate Adobe Target with our native Android app which uses the Adobe AEP Mobile SDK.
Apart from the fact that documentation for this kind of integration is not really clear, there are tutorials and demos related to old version of the Adobe Target SDK, which use functions deprecated from the current version.
The only documentation available seems to be this one: https://developer.adobe.com/client-sdks/documentation/adobe-target/
That said, coming back to the question, we managed to integrate the Adobe Target extension in our app, and we are testing a simple retrieval of an HTML according to the user which uses the app.
We created a Target Activity with two experiences.
Experience A contains an HTML for an Audience which contains only our test consumer.
Experience B contains a different HTML for the "All visitors" audience.
We tried to enable the Mobile Preview mode and we have checked that visually both experiences work correctly.
The issue is that when we disable the Mobile Preview mode, and we use the app with the test consumer that should be receiving Experience A, it actually receives the fallback expereince B, as if the user of the app was not recognized.
We did not pass the ECID to the Target request call in any custom way, assuming that is dealt with automatically with the integration.
And it seems to be correct, since from the Android Studio logs, we see that the calls to/from Target contain the correct "marketingCloudVisitorId"/ECID.
We do not understand why the user qualifies for the wrong experience though.
We tried with both an AB test and XT activity.
Any help woul be appreciated.
Many thanks!
Alberto