thomasgalliker / Plugin.FirebasePushNotifications

Receive and handle firebase push notifications in .NET MAUI apps
31 stars 3 forks source link

[Enhancement] Get all delivered notifications from system tray #26

Closed thomasgalliker closed 2 weeks ago

thomasgalliker commented 1 month ago

Summary

It‘s useful for some scenarios to get the list of delivered but not (yet) opened notifications which are currently displayed in the system tray.

This list may include push notifications as well as local notifications.

API Changes

    IEnumerable<???> deliveredNotifications = IFirebaseNotifications.GetDeliveredNotificationsAsync();

Intended Use Case

Provide a detailed example of where your proposal would be used and for what purpose.

thomasgalliker commented 1 month ago

Does anyone have an idea what a useful return value would be for the proposed methods?