We are considering using branch.io for the social sharing aspect of our app. I'm also wondering whether I can use it for the password reset flow. This is to get around the fact that email clients like gmail strip the custom application uri like:
frock//:foo.com/reset-pw
out of any links: https://github.com/EddyVerbruggen/Custom-URL-scheme/issues/123.
So I'm thinking about using branch.io to send out a link to the password recover screen and am wondering if I have to create a branch.io link for each user, or whether I can create one link call it /reset-pw and then pass it a variable query parameter like so:
/reset-pw?token=foo
Or does each url plus query combination require that I register a link with branch.
Full disclosure, currently employed at Branch.
You can certainly create a single link and append query parameters like you have in your example, but you'll need to integrate the Branch SDK & make sure you've set up an account. More info on creating those types of links here.
Branch uses a reserved keyword called "$deeplink_path" that allows you to specify the portion that comes after "frock://". Simply do the following:
https://bnc.lt/a/key_live_xxxx?$deeplink_path=%2Freset-pw%3Ftoken%3Dabc
and Branch will pass through that token key value pair. (again, assuming you've set the SDK up and registered for an account).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With