MaikuB/flutter_local_notifications

Callback on scheduled notification shown (Android)

Open

#1,699 opened on 2022年9月12日

GitHub で見る
 (6 comments) (5 reactions) (0 assignees)Dart (1,187 forks)batch import
help wanted

Repository metrics

Stars
 (2,208 stars)
PR merge metrics
 (平均マージ 59m) (30d で 4 merged PRs)

説明

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.

コントリビューターガイド