MaikuB / flutter_local_notifications

A Flutter plugin for displaying local notifications on Android, iOS, macOS and Linux
2.46k stars 1.4k forks source link

Support Ongoing Activity & Notification #2259

Open masus04 opened 8 months ago

masus04 commented 8 months ago

Google Play Store recently started requiring wearOS apps to use their ongoing activity feature for any app that keeps running in the background This applies to any timer, workout, media player, etc. and therefore affects many apps and developers that currently do or in the future might want to use the flutter_local_notifications package. Ongoing Activity Documentation

Describe the solution you'd like It would be great if flutter_local_notifications could help developers abstract the creation of ongoing activities & notifications, just like it already does for most other notification types.

Describe alternatives you've considered According to the documentation, supporting ongoing activities would be a rather small change (3 statements and a bit of parametrization) when performed from within the package where the notifications are created, but pretty much impossible from without.

Any alternative way of how to achieve the described behaviour using the notifications flutter_local_notifications already provides would be highly appreciated.

MaikuB commented 6 months ago

Could you at submitting a PR for this?

masus04 commented 6 months ago

I'd love to but don't understand enough about android development..