react-native-branch-deep-linking-attribution icon indicating copy to clipboard operation
react-native-branch-deep-linking-attribution copied to clipboard

How do i retrieve the referee userid

Open Kiran0791 opened this issue 6 years ago • 4 comments

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 avatar Dec 01 '18 13:12 Kiran0791

@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 .

sequoiaat avatar Jan 03 '19 19:01 sequoiaat

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.

jdee avatar Jan 30 '19 18:01 jdee

hi @sequoiaat @jdee have we implemented this ??

Akashdeep312 avatar Oct 28 '21 05:10 Akashdeep312

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.

jf-branch avatar Oct 28 '21 13:10 jf-branch