MaikuB/flutter_local_notifications

Callback on scheduled notification shown (Android)

Open

#1.699 geöffnet am 12. Sept. 2022

Auf GitHub ansehen
 (6 Kommentare) (5 Reaktionen) (0 zugewiesene Personen)Dart (1.187 Forks)batch import
help wanted

Repository-Metriken

Stars
 (2.208 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 59m) (4 gemergte PRs in 30 T)

Beschreibung

Now that the plugin is open to running Flutter code in the background, what about optionally firing a callback when a scheduled notification is shown to the user? I think it's only doable on Android, so it would probably be an optional callback in AndroidInitializationSettings, with similar restrictions as onDidReceiveBackgroundNotificationResponse in initialize().

If the idea sounds reasonable, I might be able to prepare a merge request on my own.

Contributor Guide