MaikuB/flutter_local_notifications

Callback on scheduled notification shown (Android)

Open

#1699 opened on Sep 12, 2022

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

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