react-native-branch-deep-linking-attribution
react-native-branch-deep-linking-attribution copied to clipboard
Not getting all the Deep Link params on opening app link in android only.
Hi Everyone,
I'm struggling with an issue for the past 3-4 days but not able to find any solution even after doing a lot of research.
I have integrated Deep linking in both iOS and Android. In iOS, it's working as expected but in the case of android when I'm opening any deep-link through Facebook newsfeed, I'm getting all the required params in branch.subscribe method but if I'm opening this link via any other source except Facebook say it whatsapp, Email etc., I'm not getting the expected params. Please find it attached below. In this case, my clicked_branch_link is not getting true even after coming via deep link only. Although I'm able to open the app, but not able to navigate the user to the desired screen.

In the case of Facebook: (getting all params correctly).
Environment config: "react-native": "npm:[email protected]", "react-native-branch": "^5.0.0",
Apart from that, I referred this doc to integrate it https://help.branch.io/developers-hub/docs/react-native .
Also, I'm using a custom subdomain on Branch IO Dashboard, hope this is not creating any problem.
Please, if anybody can let me know what I'm doing wrong and what is the reason for this kind of behavior, it would be great help.
Thanks in advance!
Hey, sorry I got the solution myself it was my bad. Actually, I was using Test key instead of live_key which was needed to use from Branch.json in the android folder.