Expand my Community achievements bar.

SOLVED

Android: no analytics data after signing the APP

Avatar

Level 1

Hi all

 

We have a strange behaviour for our Android APP.

 

All works well before signing the App and publishing in the store.

 

After publishing we see no more data in report suite, and app logs something like this..

 

 

--------------------------------------------------------------------------------------------------------------------------

2020-03-27 13:06:37.858 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Processing event uniqueIdentifier: eb1df2a3-b47e-430b-af8d-9ace89f30ef1, com.adobe.eventtype.hub/com.adobe.eventsource.booted [0] {}
2020-03-27 13:06:37.861 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Event (eb1df2a3-b47e-430b-af8d-9ace89f30ef1) #0 (EventHub) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-03-27 13:06:37.870 9587-9644/it.mydomain.is V/AdobeExperienceSDK: ConfigurationExtension - Last known rules URL loaded from persistence - null
2020-03-27 13:06:37.870 9587-9652/it.mydomain.is W/AdobeExperienceSDK: LifecycleExtension - Failed to read lifecycle data from persistence
2020-03-27 13:06:37.870 9587-9653/it.mydomain.is V/AdobeExperienceSDK: IdentityExtension - Processing BOOTED event.
2020-03-27 13:06:37.871 9587-9644/it.mydomain.is V/AdobeExperienceSDK: ConfigurationExtension - Processing boot configuration event
2020-03-27 13:06:37.871 9587-9651/it.mydomain.is D/AdobeExperienceSDK: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.configuration. Please make sure you have registered and configured the com.adobe.module.configuration extension properly based on the documentation.
2020-03-27 13:06:37.883 9587-9644/it.mydomain.is V/AdobeExperienceSDK: ConfigurationExtension - Loading overridden configuration from persistence -
null
2020-03-27 13:06:37.884 9587-9653/it.mydomain.is V/AdobeExperienceSDK: IdentityExtension - Config not available at the time to process IdentityExtension event.
2020-03-27 13:06:37.885 9587-9644/it.mydomain.is V/AdobeExperienceSDK: ConfigurationExtension - AppID loaded from persistence - null
2020-03-27 13:06:37.893 9587-9644/it.mydomain.is W/AdobeExperienceSDK: SystemInfoService - Unable to read (ADBMobileConfig.json) from the the assets folder. (java.io.FileNotFoundException: ADBMobileConfig.json)
2020-03-27 13:06:37.894 9587-9644/it.mydomain.is V/AdobeExperienceSDK: ConfigurationExtension - Nothing is loaded from bundled file
2020-03-27 13:06:37.900 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Processing event uniqueIdentifier: 34fa3393-d7d0-4d54-bc12-03e477d51cd3, com.adobe.eventtype.hub/com.adobe.eventsource.sharedstate [1] {"stateowner":"com.adobe.module.userProfile"}
2020-03-27 13:06:37.903 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Event (34fa3393-d7d0-4d54-bc12-03e477d51cd3) #1 (STATE_CHANGE_EVENT) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-03-27 13:06:37.910 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Processing event uniqueIdentifier: 556e78c8-f787-40ed-a2a0-56cb82b06ec7, com.adobe.eventtype.userprofile/com.adobe.eventsource.responseprofile [2] {"userprofiledata":{}}
2020-03-27 13:06:37.913 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Event (556e78c8-f787-40ed-a2a0-56cb82b06ec7) #2 (UserProfile Response Event) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-03-27 13:06:37.918 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Processing event uniqueIdentifier: eab85217-568b-48a3-9765-fab0e0f0921b, com.adobe.eventtype.hub/com.adobe.eventsource.sharedstate [3] {"stateowner":"com.adobe.module.lifecycle"}
2020-03-27 13:06:37.921 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Event (eab85217-568b-48a3-9765-fab0e0f0921b) #3 (STATE_CHANGE_EVENT) resulted in 0 consequence events. Time in rules was 0 milliseconds.


2020-03-27 13:06:38.114 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Processing event uniqueIdentifier: 3dad635d-f31a-40cc-9181-4308044dd360, com.adobe.eventtype.generic.lifecycle/com.adobe.eventsource.requestcontent [4] {"action":"start","additionalcontextdata":null}
2020-03-27 13:06:38.116 9587-9587/it.mydomain.is D/EmergencyMode: [EmergencyManager] android createPackageContext successful
2020-03-27 13:06:38.117 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Event (3dad635d-f31a-40cc-9181-4308044dd360) #4 (LifecycleResume) resulted in 0 consequence events. Time in rules was 1 milliseconds.
2020-03-27 13:06:38.119 9587-9652/it.mydomain.is D/AdobeExperienceSDK: LifecycleExtension - Configuration is pending, waiting...
2020-03-27 13:06:38.120 9587-9651/it.mydomain.is D/AdobeExperienceSDK: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.configuration. Please make sure you have registered and configured the com.adobe.module.configuration extension properly based on the documentation.
2

2020-03-27 13:07:31.984 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Processing event uniqueIdentifier: dd2936f2-c941-4b86-b80a-d0005d66ad0e, com.adobe.eventtype.generic.lifecycle/com.adobe.eventsource.requestcontent [9] {"action":"pause"}
2020-03-27 13:07:31.991 9587-9642/it.mydomain.is V/AdobeExperienceSDK: EventHub(AMSEventHub) - Event (dd2936f2-c941-4b86-b80a-d0005d66ad0e) #9 (LifecyclePause) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-03-27 13:07:31.995 9587-9651/it.mydomain.is D/AdobeExperienceSDK: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.configuration. Please make sure you have registered and configured the com.adobe.module.configuration extension properly based on the documentation.
2020-03-27 13:07:31.997 9587-9652/it.mydomain.is D/AdobeExperienceSDK: LifecycleExtension - Configuration is pending, waiting...

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi @peppetricky,

First of all can you please make sure that you have published the Launch configuration.

2020-03-27 13:06:37.885 9587-9644/it.mydomain.is V/AdobeExperienceSDK: ConfigurationExtension - AppID loaded from persistence - null

The above log means that SDK wasn't able to find the AppId, can you make sure if you are calling MobileCore.ConfigureWithAppId("YOUR_APP_ID_FROM_LAUNCH");.

Generally all the extension initialization related code (registering extension, configuration) is expected in .app file of the Application.

Refer documentation: https://aep-sdks.gitbook.io/docs/using-mobile-extensions/mobile-core/configuration#configure-with-th...

Thanks,
Arjun

View solution in original post

4 Replies

Avatar

Level 1

From the log it seems like SDK is unavailable to load or get the configuration. Can you share more details regarding your implementation. Are you using launch configuration or bundled JSON configuration. How is the logged in workflow different than the not logged in workflow. Thanks.

Avatar

Level 1

Abhadra, yes we are using Launch. We have no difference between logged in user and not logged in.

Avatar

Correct answer by
Level 1

Hi @peppetricky,

First of all can you please make sure that you have published the Launch configuration.

2020-03-27 13:06:37.885 9587-9644/it.mydomain.is V/AdobeExperienceSDK: ConfigurationExtension - AppID loaded from persistence - null

The above log means that SDK wasn't able to find the AppId, can you make sure if you are calling MobileCore.ConfigureWithAppId("YOUR_APP_ID_FROM_LAUNCH");.

Generally all the extension initialization related code (registering extension, configuration) is expected in .app file of the Application.

Refer documentation: https://aep-sdks.gitbook.io/docs/using-mobile-extensions/mobile-core/configuration#configure-with-th...

Thanks,
Arjun

Avatar

Level 10
Were you able to solve this issue? If so, would you mind posting the solution so others that find this thread have the answer?