Expand my Community achievements bar.

SOLVED

ACPCore not sending tracks even with "offlineEnabled" set to false

Avatar

Level 2

Hello Adobe, 

 

ACP Core is not sending tracks in my App even with "offlineEnabled" set to false. I have updated the libraries to its higher version, but still can't get tracks sent to Adobe Suite.

 

In the logs of my App I see the traces working correctly:

 

[AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #11 (com.adobe.eventType.generic.track) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

 

But still I can't see the tracks on my suite.

 

I have initialized the SDK like this

 

let filePath = Bundle.main.path(forResource: "ADBMobileConfig", ofType: "json")

ACPCore.configureWithFile(inPath: filePath)

ACPCore.setLogLevel(.verbose)

ACPCore.start()

 

I don't know what to do, can you help me please?

 

Thank you.

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Employee
 
Hi @gerarduu ,
 
Can you please verify “Adobe Analytics” extension is installed for your property in Launch. You can configure the extension in the “Extensions” Tab.
Screen Shot 2020-07-08 at 2.42.01 PM.png

 And also do make sure to follow the "Mobile Install Instructions" (under Environments Tab) to set up pod and register the installed extensions in your iOS application

Screen Shot 2020-07-08 at 2.45.32 PM.png
 
 
 
Thank you,
Pravin Prakash Kumar
Mobile Software Engineer

View solution in original post

10 Replies

Avatar

Correct answer by
Employee
 
Hi @gerarduu ,
 
Can you please verify “Adobe Analytics” extension is installed for your property in Launch. You can configure the extension in the “Extensions” Tab.
Screen Shot 2020-07-08 at 2.42.01 PM.png

 And also do make sure to follow the "Mobile Install Instructions" (under Environments Tab) to set up pod and register the installed extensions in your iOS application

Screen Shot 2020-07-08 at 2.45.32 PM.png
 
 
 
Thank you,
Pravin Prakash Kumar
Mobile Software Engineer

Avatar

Level 2

Hello @pravinpk,

Yes, i have everything set up. The thing is, it sent tracks before, but now it doesn't. I didn't change anything so I don't know why is it happening. Maybe I have to test it with a release build? Now i'm testing it with a debug build.

 

Cheers.

Avatar

Level 2

Hello @pravinpk,

 

Now I've noticed that the logs are showing this:

 

2020-07-09 10:06:31.479881+0200 STG[662:118696] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Loading overridden configuration from persistence -

 

Maybe it's because of this that it isn't working?

 

Cheers.

Avatar

Employee
@gerarduu What versions of ACPCore and ACPAnalytics are you using ? Do you see any warning or error log from the SDK ?

Avatar

Level 2

hello @praveenkumarv ,

 

I'm using:

ACPCore 2.7.1

ACPAnalytics 2.3.0

Those are the logs I see:

 

2020-07-10 20:07:39.953558+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #0 - {

2020-07-10 20:07:39.953791+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #0 (com.adobe.eventType.hub) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

2020-07-10 20:07:39.954525+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Last known rules url loaded from persistence -

2020-07-10 20:07:39.954652+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: No persisted rules url.

2020-07-10 20:07:39.954723+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing boot configuration event, number: 0

2020-07-10 20:07:39.954805+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Loading overridden configuration from persistence -

2020-07-10 20:07:39.954880+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: AppID loaded from persistence -

2020-07-10 20:07:39.956773+0200 STG[3501:646129] [AdobeExperienceSDK DEBUG <com.adobe.module.configuration>]: Bundled configuration loaded.

2020-07-10 20:07:39.962227+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Loading overridden configuration from persistence -

2020-07-10 20:07:39.962483+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: New shared state data for 'com.adobe.module.configuration' at version '0':

2020-07-10 20:07:39.964198+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Shared state has been created for event #0 with data: {

2020-07-10 20:07:39.965908+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Reset the last known rules url

2020-07-10 20:07:39.966341+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Saving rules url to persistence -

2020-07-10 20:07:39.967922+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: New shared state data for 'com.adobe.module.eventhub' at version '0':

2020-07-10 20:07:39.968541+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #1 - {

2020-07-10 20:07:39.969157+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #1 (com.adobe.eventType.configuration) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

2020-07-10 20:07:39.969921+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Handling configuration event, number: 1

2020-07-10 20:07:39.971199+0200 STG[3501:646131] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing configWithFilePath Event.

2020-07-10 20:07:39.971555+0200 STG[3501:646131] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Configuration obtained from file path /private/var/containers/Bundle/Application/2BD63FDA-3306-45F3-A10E-842E383F8FDC/STG.app/ADBMobileConfig.json is

2020-07-10 20:07:39.972692+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #2 - {

2020-07-10 20:07:39.973338+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #2 (com.adobe.eventType.hub) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

2020-07-10 20:07:39.975154+0200 STG[3501:646131] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Loading overridden configuration from persistence -

2020-07-10 20:07:39.975288+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #3 (com.adobe.eventType.configuration) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

2020-07-10 20:07:39.975373+0200 STG[3501:646131] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: New shared state data for 'com.adobe.module.configuration' at version '1':

2020-07-10 20:07:39.975816+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #4 - {

2020-07-10 20:07:39.977039+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #4 (com.adobe.eventType.hub) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

2020-07-10 20:07:39.977563+0200 STG[3501:646131] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Shared state has been created for event #1 with data: {

2020-07-10 20:07:39.978809+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #5 - {

2020-07-10 20:07:39.978949+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #5 (com.adobe.eventType.hub) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

2020-07-10 20:07:39.980142+0200 STG[3501:646131] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Reset the last known rules url

2020-07-10 20:07:39.980223+0200 STG[3501:646131] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Saving rules url to persistence -

2020-07-10 20:07:39.981264+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #6 - {

2020-07-10 20:07:39.983011+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #6 (com.adobe.eventType.configuration) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

2020-07-10 20:07:40.008384+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing get SDK ids event

2020-07-10 20:07:40.009282+0200 STG[3501:646129] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing get SDK ids event

2020-07-10 20:07:40.970024+0200 STG[3501:645967] [AdobeExperienceSDK TRACE <Core>]: GENERIC_TRACK request event was dispatched: AnalyticsTrack

2020-07-10 20:07:40.970411+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #7 - {

2020-07-10 20:07:40.970537+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #7 (com.adobe.eventType.generic.track) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

2020-07-10 20:07:41.642110+0200 STG[3501:645967] [AdobeExperienceSDK TRACE <Core>]: GENERIC_TRACK request event was dispatched: AnalyticsTrack

2020-07-10 20:07:41.642325+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #8 - {

2020-07-10 20:07:41.642442+0200 STG[3501:646125] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #8 (com.adobe.eventType.generic.track) resulted in 0 consequence events.  Time in rules was 0 milliseconds.

 

As you can see, traces are being sent, BUT if i sniff the network traffic with Charles, I don't see any call to the adobe servers. Even with SSL Proxy enabled, so i don't know what's happening.

I have everything set up correctly, my ADBMobileConfig.json file is correct, because the Android App uses this same file and it sends the traces correctly. I worked with the app all this week, and no traces are being registered. Only the 9th of July some traces were registered, due to a coworker doing QA (with an iPhone 6, iOS 12.4) using the SAME build that I work with.

 

I don't really know what's happening...

 

Any help will be very useful.

Avatar

Employee

@gerarduu I don't see any logs from Analytics extension. Did you register the extensions properly before calling ACPCore.start()?

 

You have to register extensions by calling

ACPAnalytics.registerExtension()

ACPIdentity.registerExtension()

ACPLifecycle.registerExtension()

ACPSignal.registerExtension()

before ACPCore.start()

 

If you already do this, can you share me the entire SDK log ?

 

Thanks,
Praveen

Avatar

Level 2

Hello @praveenkumarv ,

 

Registering the frameworks as you said, I get those logs (I'm marking on bold the ones that I consider preoccupying):

 

2020-07-17 11:11:15.418546+0200 STG[3063:467028] [AdobeExperienceSDK DEBUG <TaskExecutor>]: System info services are required to set thread name
2020-07-17 11:11:15.419056+0200 STG[3063:467028] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Registering extension 'Analytics' with version '2.3.0'
2020-07-17 11:11:15.419228+0200 STG[3063:467028] [AdobeExperienceSDK DEBUG <TaskExecutor>]: System info services are required to set thread name
2020-07-17 11:11:15.419438+0200 STG[3063:467028] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Registering extension 'Identity' with version '2.3.1'
2020-07-17 11:11:15.419557+0200 STG[3063:467028] [AdobeExperienceSDK DEBUG <TaskExecutor>]: System info services are required to set thread name
2020-07-17 11:11:15.419751+0200 STG[3063:467028] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Registering extension 'Lifecycle' with version '2.1.0'
2020-07-17 11:11:15.419852+0200 STG[3063:467028] [AdobeExperienceSDK DEBUG <TaskExecutor>]: System info services are required to set thread name
2020-07-17 11:11:15.420612+0200 STG[3063:467028] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Registering extension 'Signal' with version '2.1.0'
2020-07-17 11:11:15.425977+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: LoadVariablesFromPersistentData : Successfully loaded the Identity data from persistence.
2020-07-17 11:11:15.426229+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: virtual void AdobeMarketingMobile::Lifecycle::OnRegistered()
2020-07-17 11:11:15.427953+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <DatabaseService>]: <ADBMobileSignals.sqlite> opened successfully
2020-07-17 11:11:15.440586+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #0 - {
source: "com.adobe.eventSource.booted",
type: "com.adobe.eventType.hub",
2020-07-17 11:11:15.440892+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #0 (com.adobe.eventType.hub) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.441205+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Last known rules url loaded from persistence -
2020-07-17 11:11:15.441401+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: No persisted rules url.
2020-07-17 11:11:15.441535+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing boot configuration event, number: 0
2020-07-17 11:11:15.441719+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Loading overridden configuration from persistence -
2020-07-17 11:11:15.441842+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: AppID loaded from persistence -
2020-07-17 11:11:15.442543+0200 STG[3063:467250] [AdobeExperienceSDK DEBUG <com.adobe.module.configuration>]: Bundled configuration loaded.
2020-07-17 11:11:15.444054+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Loading overridden configuration from persistence -
2020-07-17 11:11:15.444437+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: New shared state data for 'com.adobe.module.configuration' at version '0':
2020-07-17 11:11:15.445448+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Shared state has been created for event #0 with data: {
2020-07-17 11:11:15.446222+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Reset the last known rules url
2020-07-17 11:11:15.446419+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Saving rules url to persistence -
2020-07-17 11:11:15.520562+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting EventHub booted event for processing.
2020-07-17 11:11:15.520741+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: Adding core data to Lifecycle data
2020-07-17 11:11:15.522115+0200 STG[3063:467253] [AdobeExperienceSDK DEBUG <com.adobe.module.analytics>]: GetSharedState - Couldn't retrieve shared state for com.adobe.module.identity. Please make sure you have registered and configured the extension properly based on the documentation.
2020-07-17 11:11:15.522893+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <DatabaseService>]: <ADBMobileIdentity.sqlite> opened successfully
2020-07-17 11:11:15.534104+0200 STG[3063:467253] [AdobeExperienceSDK DEBUG <com.adobe.module.identity>]: UpdatePrivacyStatus : Privacy Status was opt-unknown, so queued Identity hits were held in the database.
2020-07-17 11:11:15.534389+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: ProcessEvent : Processing the Identity event: {
source: "com.adobe.eventSource.requestIdentity",
type: "com.adobe.eventType.identity",
2020-07-17 11:11:15.534569+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: HandleSyncIdentifiers : Unable to process sync identifiers request as the configuration did not contain a valid experienceCloud.org. Will attempt to process event when a valid configuration is received.
2020-07-17 11:11:15.535589+0200 STG[3063:467253] [AdobeExperienceSDK WARNING <com.adobe.module.identity>]: ProcessEventQueue : Configuration is missing a valid experienceCloud.org which is needed to process Identity events. Processing will resume once a valid configuration is obtained.
2020-07-17 11:11:15.535777+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: Bootup : Added an Identity force sync event on boot.
2020-07-17 11:11:15.549903+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: New shared state data for 'com.adobe.module.lifecycle' at version '0':
2020-07-17 11:11:15.550882+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: New shared state data for 'com.adobe.module.eventhub' at version '0':
2020-07-17 11:11:15.551771+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #1 - {
source: "com.adobe.eventSource.requestContent",
type: "com.adobe.eventType.configuration",
2020-07-17 11:11:15.551917+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #1 (com.adobe.eventType.configuration) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.553334+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Handling configuration event, number: 1
2020-07-17 11:11:15.553488+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing configWithFilePath Event.
2020-07-17 11:11:15.553981+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <Core>]: GENERIC_LIFECYCLE request event was dispatched: LifecycleResume
2020-07-17 11:11:15.556179+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Configuration obtained from file path /private/var/containers/Bundle/Application/9768AFC4-CD4D-4828-9442-61B6E55F2B71/STG.app/ADBMobileConfig.json is
2020-07-17 11:11:15.558804+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #2 - {
source: "com.adobe.eventSource.sharedState",
type: "com.adobe.eventType.hub",
"stateowner" : "com.adobe.module.configuration"
2020-07-17 11:11:15.558943+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #2 (com.adobe.eventType.hub) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.559949+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Shared State update event for processing.
.561551+0200 STG[3063:467256] [AdobeExperienceSDK DEBUG <com.adobe.module.analytics>]: GetSharedState - Couldn't retrieve shared state for com.adobe.module.identity. Please make sure you have registered and configured the extension properly based on the documentation.
2020-07-17 11:11:15.561792+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: ProcessEvent : Processing the Identity event: {
source: "com.adobe.eventSource.requestIdentity",
type: "com.adobe.eventType.identity",
2020-07-17 11:11:15.561830+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Loading overridden configuration 2020-07-17 11:11:15.562107+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #3 - {
source: "com.adobe.eventSource.responseContent",
type: "com.adobe.eventType.configuration",
"server" : "c00.adobe.com"
561940+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: HandleSyncIdentifiers : Unable to process sync identifiers request as the configuration did not contain a valid experienceCloud.org. Will attempt to process event when a valid configuration is received.
2020-07-17 11:11:15.563398+0200 STG[3063:467256] [AdobeEfrom persistence - experienceSDK WARNING <com.adobe.module.identity>]: ProcessEventQueue : Configuration is missing a valid experienceCloud.org which is needed to process Identity events. Processing will resume once a valid configuration is obtained.
2020-07-17 11:11:15.564839+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: New shared state data for 'com.adobe.module.configuration' at version '1':
2020-07-17 11:11:15.565696+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Configuration response content event for processing.
2020-07-17 11:11:15.566159+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: ProcessEvent : Processing the Identity event: {
source: "com.adobe.eventSource.requestIdentity",
type: "com.adobe.eventType.identity",
07-17 11:11:15.566251+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #4 - {
source: "com.adobe.eventSource.sharedState",
type: "com.adobe.eventType.hub",
"stateowner" : "com.adobe.module.lifecycle"
2020-07-17 11:11:15.566509+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #4 (com.adobe.eventType.hub) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.566670+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: HandleSyncIdentifiers : Unable to process sync identifiers request as the configuration did not contain a valid experienceCloud.org. Will attempt to process event when a valid configuration is received.
0-07-17 11:11:15.566836+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Shared State update event for processing.
2020-07-17 11:11:15.567360+0200 STG[3063:467256] [AdobeExperienceSDK WARNING <com.adobe.module.identity>]: ProcessEventQueue : Configuration is missing a valid experienceCloud.org which is needed to process Identity events. Processing will resume once a valid configuration is obtained.
2020-07-17 11:11:15.568129+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Shared state has been created for event #1 with data: {
2020-07-17 11:11:15.568964+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #5 - {
source: "com.adobe.eventSource.sharedState",
type: "com.adobe.eventType.hub",
"stateowner" : "com.adobe.module.eventhub"
2020-07-17 11:11:15.569935+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #5 (com.adobe.eventType.hub) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.570047+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Reset the last known rules url
-07-17 11:11:15.570121+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Saving rules url to persistence -
2020-07-17 11:11:15.570268+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Shared State update event for processing.
2020-07-17 11:11:15.570443+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: HandleSharedStateUpdateEvent - Failed to process shared state update event (invalid state owner or not a dependent module).
2020-07-17 11:11:15.570703+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing get SDK ids event
2020-07-17 11:11:15.570987+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #6 - {
source: "com.adobe.eventSource.requestContent",
type: "com.adobe.eventType.generic.lifecycle",
2020-07-17 11:11:15.571586+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #6 (com.adobe.eventType.generic.lifecycle) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.572905+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Lifecycle request content event for processing.
2020-07-17 11:11:15.573005+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: virtual void AdobeMarketingMobile::Lifecycle::QueueEvent(const std::shared_ptr<Event> &)
2020-07-17 11:11:15.573156+0200 STG[3063:467253] [AdobeExperienceSDK DEBUG <com.adobe.module.analytics>]: WaitForLifecycleData - Lifecycle timer scheduled having timeout "1000 ms".
2020-07-17 11:11:15.573941+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #7 - {
source: "com.adobe.eventSource.sharedState",
type: "com.adobe.eventType.hub",
"stateowner" : "com.adobe.module.configuration"
2020-07-17 11:11:15.574071+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #7 (com.adobe.eventType.hub) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.575322+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Shared State update event for processing.
2020-07-17 11:11:15.575621+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing get SDK ids event
2020-07-17 11:11:15.576488+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #8 - {
2020-07-17 11:11:15.578327+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: ProcessEvent : Processing the Identity event: {
source: "com.adobe.eventSource.requestIdentity",
type: "com.adobe.eventType.identity",
2020-07-17 11:11:15.578434+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #8 (com.adobe.eventType.configuration) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.578865+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: HandleSyncIdentifiers : Unable to process sync identifiers request as the configuration did not contain a valid experienceCloud.org. Will attempt to process event when a valid configuration is received.
2020-07-17 11:11:15.579065+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Configuration response content event for processing.
2020-07-17 11:11:15.579396+0200 STG[3063:467256] [AdobeExperienceSDK WARNING <com.adobe.module.identity>]: ProcessEventQueue : Configuration is missing a valid experienceCloud.org which is needed to process Identity events. Processing will resume once a valid configuration is obtained.
2020-07-17 11:11:15.579932+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: ProcessEvent : Processing the Identity event: {
source: "com.adobe.eventSource.requestIdentity",
type: "com.adobe.eventType.identity",
2020-07-17 11:11:15.580573+0200 STG[3063:467256] [AdobeExperienceSDK TRACE <com.adobe.module.identity>]: HandleSyncIdentifiers : Unable to process sync identifiers request as the configuration did not contain a valid experienceCloud.org. Will attempt to process event when a valid configuration is received.
2020-07-17 11:11:15.580902+0200 STG[3063:467256] [AdobeExperienceSDK WARNING <com.adobe.module.identity>]: ProcessEventQueue : Configuration is missing a valid experienceCloud.org which is needed to process Identity events. Processing will resume once a valid configuration is obtained.
2020-07-17 11:11:15.589557+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <DatabaseService>]: <ADBMobileAnalytics.sqlite> opened successfully
2020-07-17 11:11:15.614426+0200 STG[3063:467253] [AdobeExperienceSDK DEBUG <Analytic**bleep**Database>]: Queue - Successfully queued hit with body ()
2020-07-17 11:11:15.614756+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <DatabaseService>]: QueryResult: <name> = ANALYTICS_HITS
2020-07-17 11:11:15.624051+0200 STG[3063:467242] [AdobeExperienceSDK DEBUG <com.adobe.module.analytics>]: GetSharedState - Couldn't retrieve shared state for com.adobe.module.identity. Please make sure you have registered and configured the extension properly based on the documentation.
2020-07-17 11:11:15.624234+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: Handling Lifecycle start event for event number: (6)
2020-07-17 11:11:15.625103+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: Adding core data to Lifecycle data
2020-07-17 11:11:15.651106+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: Adding install data to lifecycle data
2020-07-17 11:11:15.651677+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: Adding generic data to Lifecycle data
2020-07-17 11:11:15.652340+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: Adding core data to Lifecycle data
2020-07-17 11:11:15.657315+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: Creating Lifecycle shared state
2020-07-17 11:11:15.657583+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: New shared state data for 'com.adobe.module.lifecycle' at version '6':
2020-07-17 11:11:15.657661+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: Updated lifecycle shared state for event number: (6)
2020-07-17 11:11:15.657826+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #9 - {
source: "com.adobe.eventSource.sharedState",
type: "com.adobe.eventType.hub",
"stateowner" : "com.adobe.module.lifecycle"
2020-07-17 11:11:15.659628+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #9 (com.adobe.eventType.hub) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.660039+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Shared State update event for processing.
2020-07-17 11:11:15.660227+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: HandleSharedStateUpdateEvent - Failed to process shared state update event (invalid state owner or not a dependent module).
2020-07-17 11:11:15.660737+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #10 - {
source: "com.adobe.eventSource.responseContent",
type: "com.adobe.eventType.lifecycle",
2020-07-17 11:11:15.680241+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #10 (com.adobe.eventType.lifecycle) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:15.680479+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Handling configuration lifecycle event
2020-07-17 11:11:15.680642+0200 STG[3063:467242] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Lifecycle response content event for processing.
2020-07-17 11:11:15.681917+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: AppID loaded from persistence -
2020-07-17 11:11:15.682976+0200 STG[3063:467253] [AdobeExperienceSDK DEBUG <com.adobe.module.analytics>]: GetSharedState - Couldn't retrieve shared state for com.adobe.module.identity. Please make sure you have registered and configured the extension properly based on the documentation.
2020-07-17 11:11:55.526541+0200 STG[3063:467257] [AdobeExperienceSDK DEBUG <com.adobe.module.analytics>]: WaitForLifecycleData - Lifecycle timeout has expired without lifecycle data.
2020-07-17 11:11:55.526649+0200 STG[3063:467257] [AdobeExperienceSDK DEBUG <Analytic**bleep**Database>]: Kick - Failed to kick database hits (Analytics state is null).
2020-07-17 11:11:57.735747+0200 STG[3063:467028] [AdobeExperienceSDK TRACE <Core>]: GENERIC_TRACK request event was dispatched: AnalyticsTrack
2020-07-17 11:11:57.736558+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #11 - {
source: "com.adobe.eventSource.requestContent",
type: "com.adobe.eventType.generic.track",
2020-07-17 11:11:57.737097+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #11 (com.adobe.eventType.generic.track) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:57.743086+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Generic Track request content event for processing.
2020-07-17 11:11:57.744746+0200 STG[3063:467512] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: HandleAnalyticsContentRequest - Sending request to process the currently queued events.
2020-07-17 11:11:57.745701+0200 STG[3063:467512] [AdobeExperienceSDK DEBUG <com.adobe.module.analytics>]: GetSharedState - Couldn't retrieve shared state for com.adobe.module.identity. Please make sure you have registered and configured the extension properly based on the documentation.
2020-07-17 11:11:57.767952+0200 STG[3063:467028] [AdobeExperienceSDK TRACE <Core>]: GENERIC_TRACK request event was dispatched: AnalyticsTrack
2020-07-17 11:11:57.768164+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #12 - {
source: "com.adobe.eventSource.requestContent",
type: "com.adobe.eventType.generic.track",
2020-07-17 11:11:57.768285+0200 STG[3063:467250] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #12 (com.adobe.eventType.generic.track) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2020-07-17 11:11:57.769209+0200 STG[3063:467253] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: Hear - Submitting Generic Track request content event for processing.
2020-07-17 11:11:57.769631+0200 STG[3063:467512] [AdobeExperienceSDK TRACE <com.adobe.module.analytics>]: HandleAnalyticsContentRequest - Sending request to process the currently queued events.
2020-07-17 11:11:57.769869+0200 STG[3063:467512] [AdobeExperienceSDK DEBUG <com.adobe.module.analytics>]: GetSharedState - Couldn't retrieve shared state for com.adobe.module.identity. Please make sure you have registered and configured the extension properly based on the documentation.

 

Thank you very much.

Avatar

Employee

@gerarduu 

From the logs, it looks like the app is not loading valid configuration from launch. 

Can you follow the steps mentioned in this documentation to configure and publish mobile launch property with MobileCore and Adobe Analytics extensions. 

After publishing the extension use 

ACPCore.configure(withAppId: "<your_environment_id_from_Launch>") 

instead of 

let filePath = Bundle.main.path(forResource: "ADBMobileConfig", ofType: "json")

ACPCore.configureWithFile(inPath: filePath)

to load the correct configuration. 

 

Avatar

Level 10
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?