MaikuB/flutter_local_notifications

Callback on scheduled notification shown (Android)

Open

#1,699 opened on Sep 12, 2022

View on GitHub
 (6 comments) (5 reactions) (0 assignees)Dart (1,187 forks)batch import
help wanted

Repository metrics

Stars
 (2,208 stars)
PR merge metrics
 (Avg merge 59m) (4 merged PRs in 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.

Contributor guide