Skip to content

Reuse existing Notification for Android Foreground Service #1200

Open
@JulianBissekkou

Description

@JulianBissekkou

🚀 Feature Requests

It would be nice if we are able to reuse an existing notification instead of creating a new one.

Contextualize the feature

Let's say you have multiple ForegroundServices in your Flutter App and you want to show a single notification for all of those services. You can take care of creating the notification by yourself and then pass this notification to this (and maybe other) plugin(s) and don't spam the user with notifications.

Describe the feature

Add the option to pass a notificationId to the positionStream instead of creating a new one. Error handling needs to be done in case the notification or the channel doesn't exist.

Platforms affected (mark all that apply)

  • 📱 iOS
  • 🤖 Android

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions