{"action":"created","issue":{"url":"https://api.github.com/repos/adjust/android_sdk/issues/237","repository_url":"https://api.github.com/repos/adjust/android_sdk","labels_url":"https://api.github.com/repos/adjust/android_sdk/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/adjust/android_sdk/issues/237/comments","events_url":"https://api.github.com/repos/adjust/android_sdk/issues/237/events","html_url":"https://github.com/adjust/android_sdk/issues/237","id":187336903,"number":237,"title":"Problems with testing Deferred deep linking","user":{"login":"avinz","id":11073929,"avatar_url":"https://avatars.githubusercontent.com/u/11073929?v=3","gravatar_id":"","url":"https://api.github.com/users/avinz","html_url":"https://github.com/avinz","followers_url":"https://api.github.com/users/avinz/followers","following_url":"https://api.github.com/users/avinz/following{/other_user}","gists_url":"https://api.github.com/users/avinz/gists{/gist_id}","starred_url":"https://api.github.com/users/avinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avinz/subscriptions","organizations_url":"https://api.github.com/users/avinz/orgs","repos_url":"https://api.github.com/users/avinz/repos","events_url":"https://api.github.com/users/avinz/events{/privacy}","received_events_url":"https://api.github.com/users/avinz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-04T13:45:00Z","updated_at":"2016-11-05T11:26:19Z","closed_at":null,"body":"Hello,\r\nI am trying to test Deferred deep linking in application, so after install user will pass directly to desired page. \r\n\r\nAdjustReferrerReceiver is added to manifest.\r\n\r\nSo we have a link :  https://app.adjust.com/blabla1?deep_link=some://foo/bar\r\n\r\n(if this link is used when app is installed, deeplinking works as expected)\r\n\r\nThe way I'm trying to test it now : \r\n1)Remove the app from device\r\n2)Forget device - https://app.adjust.com/forget_device?app_token={token}&gps_adid={gpsadid}\r\n3)Install application but don't launch\r\n4)send command via adb shell : \r\n`am broadcast -a com.android.vending.INSTALL_REFERRER -n packet.packet/com.adjust.sdk.AdjustReferrerReceiver --es \"referrer\" \"adjust_reftag%3Dc6wfjZrfVrecVk%26utm_source%3DSome\"`\r\nIn LogCat i get following log : \r\n>11-04 15:37:29.316 21853-23336 D/Adjust: Attribution file not found\r\n11-04 15:37:29.333 21853-23336 D/Adjust: Activity state file not found\r\n11-04 15:37:29.336 21853-23336 D/Adjust: Session Callback parameters file not found\r\n11-04 15:37:29.337 21853-23336 D/Adjust: Session Partner parameters file not found\r\n11-04 15:37:29.778 21853-23336 I/Adjust: Google Play Services Advertising ID read correctly at start time\r\n11-04 15:37:29.781 21853-23336 V/Adjust: Foreground timer configured to fire after 60.0 seconds of starting and cycles every 60.0 seconds\r\n11-04 15:37:29.794 21853-23356 D/Adjust: Package queue file not found\r\n11-04 15:37:29.820 21853-23336 V/Adjust: Reading query string (adjust_reftag={reftag}&utm_source=Some)\r\n11-04 15:37:29.840 21853-23358 D/Adjust: Added sdk_click 1\r\n11-04 15:37:29.840 21853-23358 V/Adjust: Path:      /sdk_click\r\n                                         ClientSdk: android4.10.2\r\n                                         Parameters:\r\n                                         \tapp_token        {token}\r\n                                         \tattribution_deeplink 1\r\n                                         \tclick_time       2016-11-04T15:37:29.317Z+0200\r\n                                         \tcreated_at       2016-11-04T15:37:29.820Z+0200\r\n                                         \tenvironment      sandbox\r\n                                         \tevent_buffering_enabled 0\r\n                                         \tgps_adid         {gps_adid}\r\n                                         \tneeds_response_details 0\r\n                                         \treferrer         adjust_reftag={reftag}&utm_source=Some\r\n                                         \treftag           {reftag}\r\n                                         \tsource           reftag\r\n>                                         \ttracking_enabled 1\r\n\r\n\r\n\r\nAfter I launch the app this is the first response : \r\n>11-04 15:41:15.805 21853-27089 V/Adjust: Response: {\"app_token\":\"{token}\",\"adid\":\"{adid}\",\"timestamp\":\"2016->11-04T13:41:18.602Z+0000\",\"message\":\"Click tracked\"}\r\n>I/Adjust: Click tracked\r\n\r\nAfterwards Install is tracked and thats it, no deep link further. \r\nMay be I'm doing smth wrong, but I researched for a long time... Need help ^_^"},"comment":{"url":"https://api.github.com/repos/adjust/android_sdk/issues/comments/258605749","html_url":"https://github.com/adjust/android_sdk/issues/237#issuecomment-258605749","issue_url":"https://api.github.com/repos/adjust/android_sdk/issues/237","id":258605749,"user":{"login":"avinz","id":11073929,"avatar_url":"https://avatars.githubusercontent.com/u/11073929?v=3","gravatar_id":"","url":"https://api.github.com/users/avinz","html_url":"https://github.com/avinz","followers_url":"https://api.github.com/users/avinz/followers","following_url":"https://api.github.com/users/avinz/following{/other_user}","gists_url":"https://api.github.com/users/avinz/gists{/gist_id}","starred_url":"https://api.github.com/users/avinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avinz/subscriptions","organizations_url":"https://api.github.com/users/avinz/orgs","repos_url":"https://api.github.com/users/avinz/repos","events_url":"https://api.github.com/users/avinz/events{/privacy}","received_events_url":"https://api.github.com/users/avinz/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T11:26:19Z","updated_at":"2016-11-05T11:26:19Z","body":"Hello @uerceg \r\n\r\nThank you very much for reply, now it started working :) \r\nBut as I see (and seem written in docks) that there is no guarantee that deeplink event will arrive immediately to the application, sometime it arrives immediately, sometimes in one minute and sometimes only after I close and open app again. Is there a way to receive this event on app launch for sure? \r\n"}}
{"actor":{"display_login":"avinz"}}