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
152 stars 111 forks source link

feat-Android: Add setOnlyAlertOnce option to AndroidNotificationOptions #287

Closed fleoparra closed 4 weeks ago

fleoparra commented 4 weeks 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 4 weeks ago

Thanks PR 👍