react-native-branch-deep-linking-attribution
react-native-branch-deep-linking-attribution copied to clipboard
How do i retrieve the referee userid
How do i retrieve the userid at the time of installation using referral link. which was set using the below method branch.setIdentity('12345')
@Kiran0791 This feature is currently not implemented in react. But yes in the native sdk there is implementation for getIdentity https://github.com/BranchMetrics/android-branch-deep-linking/blob/master/Branch-SDK/src/io/branch/referral/PrefHelper.java#L418 .
I'm sure we can address this in 3.0.0, maybe even a 2.x patch. This needs to go by Branch product management first. (I'm preparing a list of requested enhancements with estimates for them to make their decision.) But it's certainly not much work.
hi @sequoiaat @jdee have we implemented this ??
Hi @Akashdeep312,
We do not have an ETA for this support. Since the value is passed in through the client itself, outside of Branch, you should e able to persist it locally yourselves or retrieve it in the same fashion of which you are retrieving it to pass through to Branch.