Local Notifications in .NET MAUI Essentials #4216
Replies: 7 comments 20 replies
-
This spec was fine for simple usage when I proposed it, but there are a lot of things feature wise that will be missing that many will find they need almost immediately after starting to use local notifications.
Other things to consider
|
Beta Was this translation helpful? Give feedback.
-
would really appreciate scheduled and cancellable notifications in this API. Granted, you have to mess about with the AlarmManager on Android but I think some extra features on this API would make it very useful. |
Beta Was this translation helpful? Give feedback.
-
This would be really cool. I would also like to pair this with iOS Background Fetch which I don't seem to see a lot of docs for MAUI on. My app has no push notifications powering it, instead we fetch and compare data periodically then local notify the user. |
Beta Was this translation helpful? Give feedback.
-
A low-feature, maintainable API would solve a number of simple use cases. I would think that there is room for something like the original proposal, a least common denominator. Once someone wants more differentiation they can look to investing in platform specifics. That’s easy enough for me to write, since I’m not working on a contribution, but I think this is a case where the perfect is the enemy of the good enough, and this is a glaring hole. |
Beta Was this translation helpful? Give feedback.
-
This is a really good idea, I hope this will get added. |
Beta Was this translation helpful? Give feedback.
-
When will this be available? |
Beta Was this translation helpful? Give feedback.
-
I would like to see local notifications in the essentials, similar like the plugin you comment as inspiration. One thing I would like to can do it is to handle acctions, for example, if I run a foreground service periodically as reminders, the user could tap a button in the notification to stop the reminder because he considerates as notified. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There was a proposal here in Xamarin.Essentials for local notifications. After it was initially turned down because it might be too specific to UI, there were some people who made a case for it and an implementation was started to move the discussion forward.
Proposed API would look something like:
A plugin that already provides this and might act as inspiration: https://github.com/thudugala/Plugin.LocalNotification
What do people think? Should we add this to Essentials?
Beta Was this translation helpful? Give feedback.
All reactions