Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

React Native - iOS is not recognizing Branch Links

$
0
0

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.


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>