如何从URL打开Flutter应用程序? [英] How to open flutter application from url?
本文介绍了如何从URL打开Flutter应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
例如,当用户可以恢复密码时,我在flutter应用程序中遇到了麻烦。
在这种情况下,用户将收到电子邮件中的链接,我想通过单击该链接来打开我的flutter应用程序,并路由到特定屏幕。
For example, i have case in my flutter app when user can recover his password. In that case user will receive link on e-mail, and i want by clicking on that link, my flutter app will open, and route to specific screen.
推荐答案
您将要从以下角度查看此视图:如何从URL打开我的iOS / Android应用,即。 应用深度链接。
You'll want to view this from the perspective of: How do I open my iOS/Android app from a URL, ie. App Deep Linking.
它们每个都有各自的实现:
They each have their own respective implementations:
- android/app-links
- apple/allowing_apps_and_websites_to_link_to_your_content
或者您可以使用功能更强大的SDK来满足您的需求:
Or you can go with more comprehensive SDKs that are capable of doing both for you:
- Firebase Dynamic Links
- Branch.io Deep Linking
这篇关于如何从URL打开Flutter应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文