Pankaj Talaviya
Pankaj Talaviya

Reputation: 3458

How to get Branch IO url to get his passed parameter and value in android programmatically

my branch.io url is "https://example.app.link/fzmLEhobLD" and i programmatically get this url to retrieve url creation time passed parameter and value through this url.

Upvotes: 0

Views: 1661

Answers (1)

Brian Chang
Brian Chang

Reputation: 169

To retrieve the parameters programmatically, you would need to use the getLatestReferringParams method. You can call this method anytime after Branch is initialized, which must be in your onStart() method of the Launcher activity:

If you do not want to route through the Launcher activity and would like to automatically route directly to the deep link activity, you could also configure specific activities to accept deep links. To learn more about this method, please visit our docs here:

I hope this helps!

Upvotes: 1

Related Questions