How to open flutter application from url?

24,345

Solution 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

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

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.

enter image description here

Another solution is to switch to native solutions: Android and iOS.

Share:
24,345
Vadziec Poplavsky
Author by

Vadziec Poplavsky

Updated on July 09, 2022

Comments

  • Vadziec Poplavsky
    Vadziec Poplavsky almost 2 years

    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.