'How to open flutter application from url?
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.
Solution 1:[1]
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:
Or you can go with more comprehensive SDKs that are capable of doing both for you:
Solution 2:[2]
There is a nice plugin for this,
https://github.com/avioli/uni_links
it also has a detailed explanation on how you need to configure iOS and Android for it to work (which is the hardest part imho); another nice source of information is this blog post
Solution 3:[3]
So here , you must use a dynamic link
.
The best solution is the use of Firebase Dynamic Links .
One of the advantages of Firebase Dynamic Links: Convert mobile web users to native app users
With Dynamic Links, you can seamlessly transition users from your mobile website to the equivalent content within your app. And because the links survive the app install process, even new users can pick up where they left off on your mobile site without missing a beat.
Another solution is to switch to native solutions: Android and iOS.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | TWL |
Solution 2 | Edoardo |
Solution 3 | Kab Agouda |