Expand my Community achievements bar.

Join our product experts for a live Ask Me Anything on November 12th at 8 AM PT about Experiences & Efficiency with AEP Agent Orchestrator & How Agentic AI is Fueling Smarter Testing and Growth!

Unable to connect to Assurance from Android app

Avatar

Level 2

I downloaded sample aep app.
while trying to connect to assurance session, after entering PIN for session I see below error in lo.
AdobeExperienceSDK com...be.marketing.mobile.sampleapp E Assurance/AssuranceStateManager - SDK configuration is not available to read OrgId

7 Replies

Avatar

Level 2

Avatar

Level 2

Hi @Naveen20 ,
you shared me the link to push notification.
I am not looking for push notification scenario, I am looking for assurance setup for app lifecycle and event tracking. Assurance setup it self failing for me in android app.

 

Thanks

Srinivas

Avatar

Community Advisor

Hello @srinivasadevar1  Looks like the Assurance is not detecting the Org Id. Can you check if the SDK is initialized properly before invoking the assurance extension?


     Manoj
     Find me on LinkedIn

Avatar

Community Advisor

Look at the code, where the app SDK is loaded and logging is configured 

  MobileCore.setApplication(this);
        MobileCore.setLogLevel(LoggingMode.VERBOSE);
        MobileCore.configureWithAppID(APP_ID);

Code can be found here:

https://github.com/adobe/aepsdk-core-android/blob/main/Documentation/MobileCore/getting-started.md


     Manoj
     Find me on LinkedIn

Avatar

Level 2

Yes I passed right environment ID as input.
I see the log that Mobile sdk initialization is done.

But I don't see any assurance sessions registered when I go to Assurance in experience.adobe.com.

 

MobileCore.setApplication(this);
MobileCore.setLogLevel(LoggingMode.VERBOSE);
MobileCore.setSmallIconResourceID(R.mipmap.ic_launcher_round);
MobileCore.setLargeIconResourceID(R.mipmap.ic_launcher_round);
MobileCore.configureWithAppID(ENVIRONMENT_FILE_ID);

List<Class<? extends Extension>> extensions = new ArrayList<>();
extensions.add(Lifecycle.EXTENSION);
extensions.add(Signal.EXTENSION);
extensions.add(UserProfile.EXTENSION);
extensions.add(Edge.EXTENSION);
extensions.add(Assurance.EXTENSION);
extensions.add(Consent.EXTENSION);
extensions.add(Messaging.EXTENSION);
extensions.add(com.adobe.marketing.mobile.Identity.EXTENSION);
extensions.add(com.adobe.marketing.mobile.edge.identity.Identity.EXTENSION);
MobileCore.registerExtensions(extensions, o -> {
Log.d(LOG_TAG, "AEP Mobile SDK is initialized");

 

Avatar

Level 1

Hey, 

Were you able to resolve the issue? I am getting it on all the apps downloaded from Githubs.

Regards

 

Avatar

Level 1

Hi were you able to resolve it as I am still getting the same issue as well on my end when I try to connect android to assurance tool