Skip to content

ToastNotifications for WPF (.NET Core 3) #3212

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

Closed
sibille opened this issue Apr 1, 2020 · 4 comments · Fixed by #3256
Closed

ToastNotifications for WPF (.NET Core 3) #3212

sibille opened this issue Apr 1, 2020 · 4 comments · Fixed by #3256
Labels
Completed 🔥 feature request 📬 A request for new changes to improve functionality for-review 📖 To evaluate and validate the Issues or PR
Milestone

Comments

@sibille
Copy link

sibille commented Apr 1, 2020

In Windows Template Studio we're looking into adding a ToastNotification Feature to our WPF (.NET Core 3) Templates.
From the docs we've seen that the necessary DesktopNotificationManager was implemented on the Toolkit, but it's not available on .NETcore 3.

Would be great if WCT could support this scenario for .NET Core 3 too.

@sibille sibille added the feature request 📬 A request for new changes to improve functionality label Apr 1, 2020
@ghost
Copy link

ghost commented Apr 1, 2020

Thanks for submitting a new feature request! I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future!

@michael-hawker michael-hawker added this to the 6.1 milestone Apr 1, 2020
@michael-hawker
Copy link
Member

Thanks @sibille, I feel like this was just an oversight, so hopefully it wouldn't be that hard to support and is just some build settings.

Have you tried using the API in a MSIX packaged app or only stand-alone?

@andrewleader according to this doc issue it sounded like your team was investigating the gap here. Have you made progress?

@sibille
Copy link
Author

sibille commented Apr 2, 2020

We tried to send a ToastNotification and activate the App from the ToastNotification from within a MSIX packaged app.
We could send the ToastNotification but had problems when implementing App Activation from the ToastNotification.

We tried adding the DesktopNotificationManagerCompat class as suggested in the docs, but this class does not compile as RegistrationServices could not be found.

Digging a bit deeper I've found the issue dotnet/runtime#10525

@Felix-Dev
Copy link

Felix-Dev commented Apr 3, 2020

@sibille @michael-hawker You might also want to check out issue microsoft/microsoft-ui-xaml#1939. Not so long ago I was also fighting with the exact same activation issue for a WPF .NET Core 3 msix-packaged desktop app.

@ghost ghost added the for-review 📖 To evaluate and validate the Issues or PR label May 6, 2020
@ghost ghost added the In-PR 🚀 label May 12, 2020
@ghost ghost added Completed 🔥 and removed In-PR 🚀 labels May 12, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jul 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Completed 🔥 feature request 📬 A request for new changes to improve functionality for-review 📖 To evaluate and validate the Issues or PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants