Branch.isAutoDeepLinkLaunch(this) returns false

Hi,

So I created a branch link in my app for sharing.  I shared this link via whatsapp. Then, I clicked on this link from Whatsapp. It takes me to the correct activity, but in its onResume() method, Branch.isAutoDeepLinkLaunch(this) returns false. Why is this happening?

Also, how do I pass data to this Activity? In a normal application flow, I pass data to this activity using Intent and Bundles, which is then retrieved in  onCreate() method. But in this Branch deeplink flow, getIntent() in onCreate() doesnt return this data. As per documentation, I can fetch data in a deeplink flow, only in onResume() method. But in onResume(), I get this flag as false!

Please help.

Toppr.com — Developer
0 Answer(s)