-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] comServer+toastNotificationActivation support #94
Comments
I think I'll send a PR to support these things. |
Hello @azchohfi I'm currently working on adding App Installer (updates outside of the Microsoft store) in this branch, You more then welcome to add features to this package 👍 how we can implement this toast feature in the yaml file? msix_config:
display_name: MyApp
publisher_display_name: MyApp
app_installer:
publish_folder_path: C:/some/path
installer_path: C:/some/path2
show-prompt: true
identity_name: de.myapp2.test
msix_version: 1.0.3.0 |
I was thinking about having something very simple, such as a toast-activator-clsid param, but I believe I will need to add something similar to what you have, to be able to customize the arguments and the display name. I'll branch from 3.0v and send the PR! |
How so fast?! :) code reviewing.. |
The code is already very well written, so adding a new option was quite an easy addition. 😊 |
I'm glad to hear that, I'm planning (3.0v) more refactoring for more code simplicity. Thanks |
Hello @azchohfi I added some documentations about the toast notifications, do you have any example of an app with toast notifications that you can use 3.0.0-dev.3? i would like to see it in action 🎉 |
I do not have a Flutter app with it just yet. I'm porting a plugin to support Windows that will need this for the Microsoft Store/MSIX, so I just wanted this to not be a blocker for it. This is definitely what is needed for push notifications, and I will definitely git it a try in a few weeks. Thanks for the quick review! |
@azchohfi Did you ever get an example for this running? Or is the package win_toast required to integrate platform notifications? I'm working with the WINRT library but I don't yet understand the activator portion of things. |
💬 Description
If your app is using toast notifications, your manifest needs to define a comServer extension, as well as a toastNotificationActivation extension, given a specific CLSID (https://docs.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/send-local-toast-desktop-cpp-wrl#msixsparse-package). There is no way to specify such things in the cli, nor in the pubspec.yaml.
❓ Platform
Windows
The text was updated successfully, but these errors were encountered: