Reputation: 387
We are trying to analyze where the users come from with branch's getLatestReferringParams in React Native, however in iOS the params for ['+clicked_branch_link'] is always undefined when the actual sessions comes from a branch link, this problem is only happening with iOS (it's working with Android), and we have also tested trying to open this link via Chrome in the iPhone and it worked. I'm not completely sure if it's related to something going on with Safari or with the OS versions. Any guideline would be very welcome. Thanks Here is a small snippet of the code we are trying to implement
const lastParams = await branch.getLatestReferringParams()
const comesFromBranchLink = lastParams['+clicked_branch_link'] # Giving us undefined when it comes from a branch link
const isAReferralLink = lastParams['~feature'] === 'referral'
Edit: We tested again and basically it doesn't recognize the branch link, only if it comes from Google Chrome.
Upvotes: 0
Views: 502
Reputation: 13633
Alex from Branch.io here: this sounds like a possible configuration issue with Universal Links.
I see you have also submitted a ticket to our Integrations team, which is the quickest way to get a solution. I will make sure we follow up here with an update when the issue has been resolved!
Upvotes: 0