在 Firebase 上 documentation :
它说:
To receive the deep link, call the getInvitation method
然而,即使没有实现那里描述的代码,深层链接、幸存的安装似乎也能正常工作。
那么,真的需要调用getInvitation
方法吗?它到底是做什么用的?
最佳答案
getInvitation()
是处理深层链接的 Intent 。建议按描述实现它 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.
关于android - 火力地堡安卓 : handle deep links,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39842641/