{"action":"created","issue":{"url":"https://api.github.com/repos/BranchMetrics/android-branch-deep-linking/issues/246","repository_url":"https://api.github.com/repos/BranchMetrics/android-branch-deep-linking","labels_url":"https://api.github.com/repos/BranchMetrics/android-branch-deep-linking/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/BranchMetrics/android-branch-deep-linking/issues/246/comments","events_url":"https://api.github.com/repos/BranchMetrics/android-branch-deep-linking/issues/246/events","html_url":"https://github.com/BranchMetrics/android-branch-deep-linking/issues/246","id":156976022,"number":246,"title":"Since version 1.12.0 my callback is not called","user":{"login":"stavv","id":16801703,"avatar_url":"https://avatars.githubusercontent.com/u/16801703?v=3","gravatar_id":"","url":"https://api.github.com/users/stavv","html_url":"https://github.com/stavv","followers_url":"https://api.github.com/users/stavv/followers","following_url":"https://api.github.com/users/stavv/following{/other_user}","gists_url":"https://api.github.com/users/stavv/gists{/gist_id}","starred_url":"https://api.github.com/users/stavv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavv/subscriptions","organizations_url":"https://api.github.com/users/stavv/orgs","repos_url":"https://api.github.com/users/stavv/repos","events_url":"https://api.github.com/users/stavv/events{/privacy}","received_events_url":"https://api.github.com/users/stavv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-26T12:49:48Z","updated_at":"2016-05-26T21:19:26Z","closed_at":null,"body":"I'm initializing Branch like this:\r\n```\r\nbranch.initSession(new Branch.BranchReferralInitListener() {\r\n            @Override\r\n            public void onInitFinished(JSONObject referringParams, BranchError error) {\r\n                if (error == null) {\r\n                    String promoCode = getString(referringParams, PROMO_CODE_BRANCH_PARAM);\r\n                    PromoUtil.storePromoCodeIfValid(promoCode);\r\n                }\r\n\r\n                listener.branchInitialized();\r\n            }\r\n        }, activity.getIntent().getData(), activity);\r\n\r\n```\r\nSince the dependency in the app is using a '+' in the end I got the latest version you released yesterday and since then my app behaves strange. After I changed it to be explicitly 1.11.3 everything worked fine.\r\n\r\nWhen stepping into the code I noticed that the WeakReference to the callback becomes empty no matter what I did (even storing my callback in a global static variable).\r\n\r\nAny ideas?\r\n"},"comment":{"url":"https://api.github.com/repos/BranchMetrics/android-branch-deep-linking/issues/comments/221997954","html_url":"https://github.com/BranchMetrics/android-branch-deep-linking/issues/246#issuecomment-221997954","issue_url":"https://api.github.com/repos/BranchMetrics/android-branch-deep-linking/issues/246","id":221997954,"user":{"login":"sojanpr","id":7651572,"avatar_url":"https://avatars.githubusercontent.com/u/7651572?v=3","gravatar_id":"","url":"https://api.github.com/users/sojanpr","html_url":"https://github.com/sojanpr","followers_url":"https://api.github.com/users/sojanpr/followers","following_url":"https://api.github.com/users/sojanpr/following{/other_user}","gists_url":"https://api.github.com/users/sojanpr/gists{/gist_id}","starred_url":"https://api.github.com/users/sojanpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sojanpr/subscriptions","organizations_url":"https://api.github.com/users/sojanpr/orgs","repos_url":"https://api.github.com/users/sojanpr/repos","events_url":"https://api.github.com/users/sojanpr/events{/privacy}","received_events_url":"https://api.github.com/users/sojanpr/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T21:19:26Z","updated_at":"2016-05-26T21:19:26Z","body":"@iantheparker Sorry for this issue. Unfortunately we are not able to reproduce this issue on our testing apps. So could you please  help us  a little bit to understand what causes it. \r\nIt would be great if our support team can reach your for a quick help. Could you please write  to our awesome support team( support@branch.io  )and we can have  a 1:1 from there\r\n"}}
{"actor":{"display_login":"sojanpr"}}