Skip to content

[Help Wanted]: How to dynamically update notification text (speed/distance) when app is killed (Android headless mode)? #1530

@hieuh06868

Description

@hieuh06868

Required Reading

  • Confirmed

Plugin Version

4.16.11

Mobile operating-system(s)

  • iOS
  • Android

Device Manufacturer(s) and Model(s)

Samsung A12

Device operating-systems(s)

Android 12

What do you require assistance about?

Hello, thank you for your great plugin!

I'd like to show dynamic speed and distance in the notification text, even when the app is killed (terminated) and only native service is running.

  • Is it possible to update notification text from Dart in headless mode?
  • If not, is there an official/native way to update notification content with live data (speed/distance) when the app is terminated?
  • Any recommended approach or sample to achieve this?

[Optional] Plugin Code and/or Config

[Optional] Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions