简体   繁体   English

Flutter 链接然后 firebase 写

[英]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.

相关问题 Flutter Firebase 动态链接不适用于 facebook - Flutter Firebase Dynamic Links Not working on facebook 添加 ofl 到动态链接 firebase flutter - Adding ofl to dynamic links firebase flutter 如何使用 Flutter Firebase 动态链接与 go_router - How to use Flutter Firebase dynamic links with go_router Flutter 中的 firebase_dynamic_links 不适用于 Android 版本 13 - firebase_dynamic_links in Flutter does not work on Android version 13 如何在 Flutter Android 上编写 Firebase 用 Apple 登录的功能 - How to write Firebase Functions for Sign in with Apple on Flutter Android Flutter firebase 动态链接在应用程序上处理 url 时使用自定义参数自定义链接 - Flutter firebase dynamic links customise link with custom params when handling url on the app Firebase存储链接如何使用? - How to use Firebase Storage Links? 如何将数据写入实时数据库 firebase flutter? - how do i write the data to Real-time Database firebase flutter? 此代码适用于 Firestore,但我将如何在 flutter 中为实时数据库 firebase 编写此代码? - This code is for Firestore but how I'll write this code for realtime database firebase in flutter? FireBase 存储在 flutter web - FireBase Storage in flutter web
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM