[英]Flutter links then firebase write
I'm creating a shopping list app using flutter and Firebase database where users can share their own shopping list.我正在使用 flutter 和 Firebase 数据库创建一个购物清单应用程序,用户可以在其中共享自己的购物清单。 I'd that users can share a link where other users just tapping that link can open my app and see the shopping list shared.
我希望用户可以共享一个链接,其他用户只要点击该链接就可以打开我的应用程序并查看共享的购物清单。 So when a user tap the link automatically my app opens up and write a key value in firebase database.
因此,当用户自动点击链接时,我的应用程序会打开并在 firebase 数据库中写入一个键值。 How can I achieve my purpose?
我怎样才能达到我的目的? I don't even know what to search in google?
我什至不知道在谷歌搜索什么? :s
:s
Thank you谢谢
What you're describing is (within Firebase) achieved by the product called Firebase Dynamic Links .您所描述的是(在 Firebase 中)由名为Firebase Dynamic Links的产品实现的。 With these you can generate a link to any screen in your app, so that when the user clicks the link they are taken to that screen (even if they have to install the app first).
通过这些,您可以生成指向应用中任何屏幕的链接,以便当用户单击该链接时,他们将被带到该屏幕(即使他们必须先安装该应用)。
So I recommend reading the documentation on creating dynamic links and receiving dynamic links in Flutter.所以我推荐阅读Flutter中 创建动态链接和 接收动态链接的文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.