On the Firebase documentation:
it says:
To receive the deep link, call the getInvitation method
However the deep links, surviving installations, seem to work even without implementing the code described there.
So, is it really needed to call the getInvitation
method? what is it exactly for?
getInvitation()
is to handle the deep link intent. It is recommended to implement it as described here:
You must call getInvitation() in every activity that might be launched by the link, even though the link might be available from the intent using getIntent().getData(). Calling getInvitation() retrieves the link and clears that data so it is only processed once by your app.
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