leanflutter / uni_links_desktop

A desktop (supports macOS and Windows) implementation of uni_links plugin.
https://pub.dev/packages/uni_links_desktop
MIT License
28 stars 15 forks source link

registerProtocol() Not supported in MSIX #11

Closed HAFIZkhan-source closed 10 months ago

HAFIZkhan-source commented 1 year ago

Hey, registerProtocol() will not work If windows app installed using msix file

cliftonlabrum commented 1 year ago

If I sign a local msix file, registerProtocol() works for me. But when I submit to the Microsoft App Store, the tester can't get it to work.

What options do we have?

cliftonlabrum commented 1 year ago

@HAFIZkhan-source You can use protocol_activation in your msix configuration in your pubspec.yaml file to enable this. So if myapp:// is your custom URI, you add this line to msix_config:

msix_config:
  protocol_activation: myapp

See this issue for details: https://github.com/YehudaKremer/msix/issues/187

lijy91 commented 10 months ago

README updated