MaikuB/flutter_local_notifications

[Feature request] Expose UNTimeIntervalNotificationTrigger with no repeat

Open

#2.399 aberto em 4 de set. de 2024

Ver no GitHub
 (7 comments) (1 reaction) (0 assignees)Dart (1.187 forks)batch import
help wanted

Métricas do repositório

Stars
 (2.208 stars)
Métricas de merge de PR
 (Mesclagem média 59m) (4 fundiu PRs em 30d)

Description

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.

Guia do colaborador