MaikuB/flutter_local_notifications

Callback on scheduled notification shown (Android)

Open

#1.699 aberto em 12 de set. de 2022

Ver no GitHub
 (6 comments) (5 reactions) (0 assignees)Dart (1.187 forks)batch import
help wanted

Métricas do repositório

Stars
 (2.208 stars)
Métricas de merge de PR
 (Mesclagem média 59m) (4 fundiu PRs em 30d)

Description

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.

Guia do colaborador