Dev-hwang / flutter_foreground_task

This plugin is used to implement a foreground service on the Android platform.
https://pub.dev/packages/flutter_foreground_task
MIT License
149 stars 109 forks source link

feat-Android: Add setOnlyAlertOnce option to AndroidNotificationOptions #287

Closed fleoparra closed 1 week ago

fleoparra commented 1 week ago

Set this flag if you would only like the sound, vibrate and ticker to be played if the notification is not already showing.

Its very useful to prevent the notification alert several times on apps like real time travel monitoring.

Dev-hwang commented 1 week ago

Thanks PR 👍