I am generating a branch.io deeplink in my react native app using the below code
let branchUniversalObject = await branch.createBranchUniversalObject(
canonicalIdentifier,
{
locallyIndex: true,
title,
contentImageUrl,
contentDescription: contentDescription || '',
contentMetadata: {
customMetadata,
},
}
)
It gives me a link something like https://xyz.abc.com/OrzOISGRP0
I have kept my localhost for desktop url in branch.io settings.
Now my question is, is there a way i can get the customMetadata associated with this deeplink in the website?
I tried using branch.init() web sdk, but its not returning the required data if i open the link directly, it redirects me though and also appends branch_match_id.
It sends the data in listener registered on site if someone have clicked the link and opened it on phone, i dont know whats the use of that.
Thanks