android - 火力地堡安卓 : handle deep links

标签 android firebase firebase-dynamic-links

在 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/

相关文章:

android - Google 云端硬盘 API 不可用

json - 如何在Fluter上从Firestore中的模型json数据内部序列化/建模

php - 使用核心 php 在 Firebase 上创建动态链接

ios - Firebase 动态链接无效并被阻止

android - Firebase 动态链接 ShortUrl 在 Android 中不起作用

java - 如何多次getChildren并保存父节点

android - 如何实现谷歌地图新版API v2

android - Android中找到的GPS坐标的精度

angular - 从 Angular2 应用程序发送 http post 请求时如何启用 CORS

ios - 从 Auth 数据库中删除匿名用户