YehudaKremer / msix

Create Msix installer for flutter windows-build files.
https://pub.dev/packages/msix
MIT License
280 stars 70 forks source link

Add support for extension windows.appUriHandler #125

Closed chirag729 closed 2 years ago

chirag729 commented 2 years ago

https://docs.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-linking

chirag729 commented 2 years ago

@YehudaKremer Could this be merged and released please?

YehudaKremer commented 2 years ago

Yes, sorry.

On it now...

YehudaKremer commented 2 years ago

Hello @chirag729

I published a new version (3.6.0) with your added feature.

A few additions to your commit:

Thank you for your contribution 👍

chirag729 commented 2 years ago

@YehudaKremer Thanks for reviewing this PR so quickly

IsaiChristian commented 2 years ago

Hi, how do I use this options? I set them up in the YML like this :

  protocol_activation: http, https
  app_uri_handler_hosts: domain.com, appwrite.domain.com

but I dont know how to make it work the app is open once a link is click ( on my test it didnt work so I wonder if I need to do something extra on my flutter code)

chirag729 commented 2 years ago

@IsaiChristian Follow the instructions here: https://learn.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-linking

For my own app I ended up not using app_uri_handler_hosts. Just protocol_activation: myappname was enough