Skip to content
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

Missing example implementation of Windows notification manager service #2382

Open
PatrikTrefil opened this issue Jul 22, 2024 · 1 comment
Open
Labels
doc-enhancement Improve the current content [org] dotnet-maui/subsvc dotnet-mobile/svc Pri1 High priority, do before Pri2 and Pri3

Comments

@PatrikTrefil
Copy link

Type of issue

Missing information

Description

The article describes a setup of cross-platform notifications. Everything necessary is included in the article except an example implementation of the INotificationManagerService for Windows. Instead the implementation section links to a different article, which is very complex, uses C++ code and works with a completely different setup (i.e. not .NET MAUI). The sample code in the Github repository also does not contain the Windows implementation.

Motivation: cross-platform notifications are a basic feature which should be super easy to setup. I am new to .NET MAUI and was not able to set this up based on the information provided in the article.

Page URL

https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/local-notifications?view=net-maui-8.0&pivots=devices-windows#create-a-cross-platform-abstraction

Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/platform-integration/local-notifications.md

Document Version Independent Id

a60fefdf-9ad0-349e-6ef2-7ff806a9bf6a

Article author

@davidbritch

Metadata

  • ID: a60fefdf-9ad0-349e-6ef2-7ff806a9bf6a
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui
@issues-automation issues-automation bot added dotnet-maui/subsvc dotnet-mobile/svc Pri1 High priority, do before Pri2 and Pri3 labels Jul 22, 2024
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Jul 22, 2024
@davidbritch davidbritch added the doc-enhancement Improve the current content [org] label Aug 7, 2024
@dotnet-bot dotnet-bot removed the ⌚ Not Triaged Not triaged label Aug 7, 2024
@true-perfect-code
Copy link

Hi @PatrikTrefil

I have been working intensively on this problem over the last few days and have managed to fix the local notification in Windows MAUI. Please have a look at dotnet/maui#27092 (comment)

Otherwise I feel exactly the same as you, I wonder who uses MAUI at all if the basic things cannot be realized.
In the meantime I have found out that all problems are not only caused by the MAUI team, but also by another microsoft team, which publishes the description of the local Windows notification incompletely and leaves MAUI out.
In addition, Visual Studio Team has still not managed to enable a publish in MAUI if you have a complex solution that has MAUI Blazor + RCL + Blazor Web, although the template itself comes from microsoft!

I also have to admit that I spent the whole vacation day looking for MAUI alternatives and came to the conclusion that MAUI is unique in the sense that you can reach all platforms with a common code (I don't include Flutter, I have implemented a project and I don't like it at all because of widgets).

So if you want to develop serious apps that require a screen, you can't just do it with a mobile app. And if you're doing something “bigger”, you can't do it without a professional database such as MS SQL. In the end, you inevitably end up with MAUI (because there is NET and everything that goes with it including MS SQL, stored procedures).

I went back to MAUI yesterday and solved the problem with the local Windows notification. That's a few hours of hobby work again, because I don't dare to suggest MAUI to a customer anymore.

My hope is that MAUI Team will get a stable version this year and we can all release some apps before the AI finally takes all our jobs :)

Regards
pc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement Improve the current content [org] dotnet-maui/subsvc dotnet-mobile/svc Pri1 High priority, do before Pri2 and Pri3
Projects
None yet
Development

No branches or pull requests

4 participants