Search code examples
windowsflutterdeep-linkingflutter-windows

Open flutter app windows by a custom schema


Some windows apps like telegram, can open with custom schema url by browser. When I install telegram on my windows pc and enter tg:// in browser, It can maximize telegram app or run telegram app if it not started yet.

In flutter apps, we can use deep link for android and iOS, with the help of its document

But how to open flutter windows app with deep link?


Solution

  • In case somebody is still looking for a solution, here it is: https://pub.dev/packages/uni_links_desktop Build and run the example project. You will understand how to configure the host for your app.