MaikuB/flutter_local_notifications

Callback on scheduled notification shown (Android)

Open

#1,699 创建于 2022年9月12日

在 GitHub 查看
 (6 评论) (5 反应) (0 负责人)Dart (1,187 fork)batch import
help wanted

仓库指标

Star
 (2,208 star)
PR 合并指标
 (平均合并 59分钟) (30 天内合并 4 个 PR)

描述

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.

贡献者指南