thomasgalliker / Plugin.FirebasePushNotifications

Receive and handle firebase push notifications in .NET MAUI apps
MIT License
66 stars 5 forks source link

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

Closed thomasgalliker closed 5 months ago

thomasgalliker commented 6 months 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 6 months ago

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