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

How to get content URI from mobile App for deep-linking for Branch.io quick link?

Open Jamessmith878889 opened this issue 4 years ago • 1 comments

I have created a React Native app using third party which creates News posts.I have the entire code for this. How to get the full path (Mobile app URI) of a content/news post.

For example if I am posting a News and I need the full Path for that particular News for Deep-Linking. Like we get the path in the website https://www.example.com/post/1 , similarly what will the path in mobile app & where do I check in the code?

Jamessmith878889 avatar Apr 18 '20 08:04 Jamessmith878889

@Jamessmith878889 The Branch RN SDK has a subscribe method of which will return the ~referring_link in the payload when Branch referred. You can also use getLatestReferringParams if you want to access the link data post app open/launch.

jf-branch avatar Oct 17 '21 09:10 jf-branch