Hello,
We're at our first app config install and have been using the documentation here Overview - Adobe Experience Platform Mobile SDKs however nothing is appearing in our development RS.
We've followed the steps and have set up a new Launch property running Mobile Core, Analytics, Target, Target vec and Profile. All published to Development and the Mobile Install Documents forwarded to our development team.
Our Development team have followed the instruction in getting the SDK initialized and adding analytics, target.
They have also sent the verbose logs showing what seems to be the SDK connecting up:
2019-07-08 14:46:41.164300+0100 TheApp[78087:11116571] [AdobeExperienceSDK DEBUG <Core>]: Registered Configuration module
2019-07-08 14:46:41.165080+0100 TheApp[7xxx7:11116781] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #0 - { class: "Event", name: "Configure with AppId", source: "com.adobe.eventSource.requestContent", type: "com.adobe.eventType.configuration", pair_id: "", response_pair_id: "3", event_number: 0, timestamp: "1562593601164 ms", data: [ [ "config.appId", "launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development" ] ], super: { class: "Object", this: 1xxxxxxxxxxxxx0, typeid: "N20AdobeMarketingMobile5EventE" }}
2019-07-08 14:46:41.165346+0100 TheApp[7xxx7:11116781] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #0 (com.adobe.eventType.configuration) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2019-07-08 14:46:41.165710+0100 TheApp[7xxx7:11116793] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Processing ConfigureWithAppID event. AppID -(launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development)
2019-07-08 14:46:41.165752+0100 TheApp[7xxx7:11116789] [AdobeExperienceSDK TRACE <com.adobe.module.lifecycle>]: virtual void AdobeMarketingMobile::Lifecycle::OnRegistered()
2019-07-08 14:46:41.165947+0100 TheApp[7xxx7:11116793] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Saving appID to persistence - launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development
2019-07-08 14:46:41.166950+0100 TheApp[7xxx7:11116782] [AdobeExperienceSDK TRACE <DatabaseService>]: <ADBMobileSignals.sqlite> opened successfully
2019-07-08 14:46:41.167881+0100 TheApp[7xxx7:11116784] [AdobeExperienceSDK TRACE <DatabaseService>]: <ADBMobileIdentity.sqlite> opened successfully
2019-07-08 14:46:41.168995+0100 TheApp[7xxx7:11116784] [AdobeExperienceSDK DEBUG <com.adobe.module.identity>]: Privacy opt-unknown: Suspend Identity database
2019-07-08 14:46:41.172580+0100 TheApp[7xxx7:11116793] [AdobeExperienceSDK WARNING <ConfigurationDownloader>]: Failed to download config from https://assets.adobedtm.com/launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development.json
2019-07-08 14:46:41.173616+0100 TheApp[7xxx7:11116793] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Loading overridden configuration from persistence -
2019-07-08 14:46:41.174663+0100 TheApp[7xxx7:11116781] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #1 - { class: "Event", name: "STATE_CHANGE_EVENT", source: "com.adobe.eventSource.sharedState", type: "com.adobe.eventType.hub", pair_id: "", response_pair_id: "4", event_number: 1, timestamp: "1562593601174 ms", data: [ [ "stateowner", "com.adobe.module.configuration" ] ], super: { class: "Object", this: 1xxxxxxxxxxxxx0, typeid: "N20AdobeMarketingMobile5EventE" }}
2019-07-08 14:46:41.174843+0100 TheApp[7xxx7:11116781] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #1 (com.adobe.eventType.hub) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2019-07-08 14:46:41.174889+0100 TheApp[7xxx7:11116793] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Shared state is created for event number 0 with data
2019-07-08 14:46:41.175463+0100 TheApp[7xxx7:11116793] [AdobeExperienceSDK TRACE <com.adobe.module.configuration>]: Saving rules url to persistence - https://assets.adobedtm.com/launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development-rules.zip
2019-07-08 14:46:41.176113+0100 TheApp[7xxx7:11116794] [AdobeExperienceSDK WARNING <RemoteFileManager: >]: Invalid Extension on Cache File (1559650890_226531393564363039366563613835343xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx936353038393322_dir)
2019-07-08 14:46:41.176211+0100 TheApp[7xxx7:11116781] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #2 - { class: "Event", name: "Configuration Response Event", source: "com.adobe.eventSource.responseContent", type: "com.adobe.eventType.configuration", pair_id: "", response_pair_id: "5", event_number: 2, timestamp: "1562593601175 ms", data: [ [ "analytics.aamForwardingEnabled", false ], [ "analytics.backdatePreviousSessionInfo", false ], [ "analytics.batchLimit", 0.000000 ], [ "analytics.launchHitDelay", 0.000000 ], [ "analytics.offlineEnabled", false ], [ "analytics.rsids", "sagagrdevelopment" ], [ "analytics.server", "sagagrouplimited.d3.sc.omtrdc.net" ], [ "build.environment", "dev" ], [ "experienceCloud.org", "0xxxxxxxxxxxxxxxxxxxxxx1@AdobeOrg" ], [ "global.privacy", "optedin" ], [ "global.ssl", true ], [ "lifecycle.sessionTimeout", 300.000000 ], [ "property.id", "PRxxxxxxxxxxxxxxxxxxxxxxxxxxxfc" ], [ "rules.url", "https://assets.adobedtm.com/launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development-rules.zip" ], [ "target.autoFetch", true ], [ "target.clientCode", "sagagrouplimitedsaga" ], [ "target.environmentId", "dineapp" ], [ "target.fetchBackground", false ], [ "target.propertyToken", "xxxxxx-xxxx-xxxx-xxxx-ecxxxxxxxxxxx" ], [ "target.timeout", 5.000000 ] ], super: { class: "Object", this: 105553134363072, typeid: "N20AdobeMarketingMobile5EventE" }}
2019-07-08 14:46:41.176733+0100 TheApp[7xxx7:11116794] [AdobeExperienceSDK WARNING <RulesDownloader>]: Error downloading Rules from 'https://assets.adobedtm.com/launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development-rules.zip': Code: std.logic_error.invalid_argument
2019-07-08 14:46:41.176781+0100 TheApp[7xxx7:11116781] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Event #2 (com.adobe.eventType.configuration) resulted in 0 consequence events. Time in rules was 0 milliseconds.
2019-07-08 14:46:41.177171+0100 TheApp[7xxx7:11116798] [AdobeExperienceSDK DEBUG <com.adobe.module.identity>]: Privacy opted-in: Attempting to send Identity queued hits from database
In the above I have noticed it does complain about downloading rules in the above (if any help) and invalid extension:
14:46:41.176733+0100 TheApp[7xxx7:11116794] [AdobeExperienceSDK WARNING <RulesDownloader>]: Error downloading Rules from 'https://assets.adobedtm.com/launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development-rules.zip': Code: std.logic_error.invalid_argument
14:46:41.176113+0100 TheApp[7xxx7:11116794] [AdobeExperienceSDK WARNING <RemoteFileManager: >]: Invalid Extension on Cache File (1559650890_226531393564363039366563613835343xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx936353038393322_dir)
If anyone has experienced similar pain or can see something we've missed we'd really appreciate the help on getting this SDK passing data into analytics.
Many thanks
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hey there,
It looks like your configuration response is being processed correctly:
2019-07-08 14:46:41.176211+0100 TheApp[7xxx7:11116781] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #2 - { class: "Event", name: "Configuration Response Event", source: "com.adobe.eventSource.responseContent", type: "com.adobe.eventType.configuration", pair_id: "", response_pair_id: "5", event_number: 2, timestamp: "1562593601175 ms", data: [ [ "analytics.aamForwardingEnabled", false ], [ "analytics.backdatePreviousSessionInfo", false ], [ "analytics.batchLimit", 0.000000 ], [ "analytics.launchHitDelay", 0.000000 ], [ "analytics.offlineEnabled", false ], [ "analytics.rsids", "sagagrdevelopment" ], [ "analytics.server", "sagagrouplimited.d3.sc.omtrdc.net" ], [ "build.environment", "dev" ], [ "experienceCloud.org", "0xxxxxxxxxxxxxxxxxxxxxx1@AdobeOrg" ], [ "global.privacy", "optedin" ], [ "global.ssl", true ], [ "lifecycle.sessionTimeout", 300.000000 ], [ "property.id", "PRxxxxxxxxxxxxxxxxxxxxxxxxxxxfc" ], [ "rules.url", "https://assets.adobedtm.com/launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development-rules.zi p" ], [ "target.autoFetch", true ], [ "target.clientCode", "sagagrouplimitedsaga" ], [ "target.environmentId", "dineapp" ], [ "target.fetchBackground", false ], [ "target.propertyToken", "xxxxxx-xxxx-xxxx-xxxx-ecxxxxxxxxxxx" ], [ "target.timeout", 5.000000 ] ], super: { class: "Object", this: 105553134363072, typeid: "N20AdobeMarketingMobile5EventE" }}
I'm not seeing anything in the log where the SDK is attempting to send data to Analytics. Are you calling tracking APIs (e.g. - trackState:data: or trackAction:data:) for which you are expecting to see data?
Thanks.
steve benedick
sr mobile software engineer
Views
Replies
Total Likes
Hey there,
It looks like your configuration response is being processed correctly:
2019-07-08 14:46:41.176211+0100 TheApp[7xxx7:11116781] [AdobeExperienceSDK TRACE <EventHub(AMSEventHub)>]: Processing Event #2 - { class: "Event", name: "Configuration Response Event", source: "com.adobe.eventSource.responseContent", type: "com.adobe.eventType.configuration", pair_id: "", response_pair_id: "5", event_number: 2, timestamp: "1562593601175 ms", data: [ [ "analytics.aamForwardingEnabled", false ], [ "analytics.backdatePreviousSessionInfo", false ], [ "analytics.batchLimit", 0.000000 ], [ "analytics.launchHitDelay", 0.000000 ], [ "analytics.offlineEnabled", false ], [ "analytics.rsids", "sagagrdevelopment" ], [ "analytics.server", "sagagrouplimited.d3.sc.omtrdc.net" ], [ "build.environment", "dev" ], [ "experienceCloud.org", "0xxxxxxxxxxxxxxxxxxxxxx1@AdobeOrg" ], [ "global.privacy", "optedin" ], [ "global.ssl", true ], [ "lifecycle.sessionTimeout", 300.000000 ], [ "property.id", "PRxxxxxxxxxxxxxxxxxxxxxxxxxxxfc" ], [ "rules.url", "https://assets.adobedtm.com/launch-ENxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxec-development-rules.zi p" ], [ "target.autoFetch", true ], [ "target.clientCode", "sagagrouplimitedsaga" ], [ "target.environmentId", "dineapp" ], [ "target.fetchBackground", false ], [ "target.propertyToken", "xxxxxx-xxxx-xxxx-xxxx-ecxxxxxxxxxxx" ], [ "target.timeout", 5.000000 ] ], super: { class: "Object", this: 105553134363072, typeid: "N20AdobeMarketingMobile5EventE" }}
I'm not seeing anything in the log where the SDK is attempting to send data to Analytics. Are you calling tracking APIs (e.g. - trackState:data: or trackAction:data:) for which you are expecting to see data?
Thanks.
steve benedick
sr mobile software engineer
Views
Replies
Total Likes
Thanks Steve, that makes sense. We we're under the impression that things like launches would be pushed without the need to set. We'll add some in and update this post.
Views
Replies
Total Likes
Yeah, sounds like you're familiar with the v4 SDK where all lifecycle traffic was handled automatically in iOS .
In the new SDK, it's now a manual process, which provides more flexibility for our customers. Read here for more info on lifecycle: Initialize the SDK and set up tracking - Adobe Experience Platform Mobile SDKs
Hope this helps.
-steveb
Views
Replies
Total Likes
Thanks for your help Steve, we're up and running. One final question if I may;
I'm having a bit of an issue with the product string, I can see the contents of the product string if I set a processing rule for products(Context Data) it to an s.prop. However this is not making it's way to the main product dimension.
Is there anything obvious in the call below which would suggest it's not being set correctly in the app call?
AdobeExperienceSDK DEBUG <AnalyticsHitDatabase>]: Analytics request was sent with body (ndh=1&c.&a.&AppID=Poss%201%20%281.0.0%29&CarrierName=%28null%29&DeviceName=x86_64&OSVersion=iOS%2012.2&Resolution=1125x2436&RunMode=Application&TimeSinceLaunch=23&action=purchase&.a&events=purchase%2Cevent999&products=membership%20-%20dining%20app%3BBxxxxxer%3B1%3B%3Bevent999%3BeVar85%3DTwo-for-one%20on%20all%20courses&.c&aamb=j8Odv6LonN4r3an7LhD3WZrU1bUpAkFkkiY1ncBR96t2PTI&aamlh=9&ce=UTF-8&cp=foreground&mid=4953474044xxxxxxxxxx1441173805929&pageName=Poss%201%20%281.0.0%29&pe=lnk_o&pev2=AMACTION%3Apurchase&t=00%2F00%2F0000%2000%3A00%3A00%200%20-60)
Views
Replies
Total Likes
Hey Stephen,
Glad to hear you've got things running!
Regarding product string, the suggested implementation is outside of context data. There is a special combination of characters that you can use in your context data key to indicate you want a value to go directly in the hit instead of being a part of context data, outlined more for you here: Product variable - Adobe Experience Platform Mobile SDKs
Hope this helps.
-steveb
Views
Likes
Replies