Closed SamanTheSquirrel closed 3 months ago
This issue has been automatically marked as stale due to inactivity for 60 days. If this issue is still relevant, please respond with any updates or this issue will be closed in 7 days. If you believe this is a mistake, please comment to let us know. Thank you for your contributions.
This issue has been closed due to inactivity. If this issue is still relevant, please reopen it or create a new one. Thank you for your contributions.
Describe the bug
When the app is closed, the links open it but the Referral Parameters returned by
public InitSessionBuilder withCallback(BranchReferralInitListener callback)
are set to:{"+clicked_branch_link":false,"+is_first_session":false}
. When the app is already running in the background, it sometimes returns the same{"+clicked_branch_link":false,"+is_first_session":false}
, and sometimes it returns the parameters of an old Deep Link I clicked previously, but not the most recent one.Steps to reproduce
Branch.getInstance().disableTracking(true)
.BranchReferralInitListener
returns the Referral Params{"+clicked_branch_link":false,"+is_first_session":false}
.BranchReferralInitListener
returns either the same empty Referral Params, or the Referral Params of the previous Deep Link, but not the most recent one.Expected behavior
Deep Links should work regardless of whether the app is running or not, and they should always return the most recent Referral Parameters through
public InitSessionBuilder withCallback(BranchReferralInitListener callback)
.SDK Version
5.8.2
Make and Model
Sony Xperia 1 IV, Google Pixel 6a
OS
14, 13
Additional Information/Context
Unfortunately, we are legally not able to leave user tracking enabled. And Branch.io is already deeply integrated with other products, so replacing it is not an option either.