MaikuB/flutter_local_notifications

[Feature request] Expose UNTimeIntervalNotificationTrigger with no repeat

開放

#2,399 建立於 2024年9月4日

 (7 則留言) (1 個反應) (0 位負責人)Dart (1,561 個分叉)batch import
help wanted

倉庫指標

星標
 (2,663 顆星)
PR 合併指標
 (平均合併 59分鐘) (30 天內合併 4 個 PR)

描述

Hey! Currently, the plugin doesn't allow taking advantage of UNTimeIntervalNotificationTrigger with the repeat set to false and it would be really nice to have this possibility exposed within the Flutter plugin.

The plugin currently exposes periodicallyShow that uses UNTimeIntervalNotificationTrigger with the repeat true.

My use-case is using the plugin for showing a notification on closing the app. It works natively by running a scheduled notification with time interval trigger and no repeat, but does not by other means (it can also be safely called from Flutter side during app exiting so no problem on that part), but the plugin doesn't expose that.

貢獻者指南