Expand my Community achievements bar.

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

5 Replies

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