-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Windows MSIX Packaged App: onDidReceiveNotificationResponse not invoked, app protocol invoked instead #2515
Comments
Thanks for the report! On first glance, this seems like it might be by design. A few questions to give me more context:
I'll be able to run your code later, not at my computer now |
Thanks for quick response. Short answers:
== Wouldn't surprise me if it's by design - just would imagine there's a way to wire through all the data contained in the |
Hm, am I missing something? Your MSIX app is opened, you show a notification with text input, and wish to get the input within your Flutter code. Here I'm able to do exactly that in the example (you can see the text indicating this is running as an MSIX). 20250117-0058-46.0032672.mp4Maybe |
Describe the bug
Windows notifications' callbacks aren't invoking for me when the flutter app is packaged with msix.
flutter run
, my notification shows and clicking buttons on the notification invokes the method passed to onDidReceiveNotificationResponseTo Reproduce
3.b. Observe whether the app was invoked with a protocol instead
Expected behavior
I would think that the method could be invoked directly, but maybe not.
Sample code to reproduce the problem
build with msix using
myapp.integ
as the identityThanks @Levi-Lesches for setting all this up - it is quite helpful, and I can try to work around the lack of callback, except that I don't believe there's any way to capture data input to the notification through the callback. I tried a few different templates with no success. It's also possible that I have misconfigured something, but figured since this is a new feature that it may just be an unsupported behavior that you haven't noticed yet.
The text was updated successfully, but these errors were encountered: