这是indexloc提供的服务,不要输入任何密码
Skip to content

Persistent notifications (termux-notification --ongoing) are not persistent. #793

@TDGalea

Description

@TDGalea

Problem description
When using termux-notification, if I'm understanding correctly, the --ongoing parameter should make the notification a persistent, unswipable one. However, I can still swipe to close it.

Steps to reproduce
Send yourself a notification, for example:
termux-notification --ongoing --id test -t Test -c "Blah blah"
then try swiping it away.

Expected behavior
The notification should not be removable by swipe action - I should only be able to get rid of it by using termux-notification-remove.

Additional information

  • termux-api application version: 0.52.0
  • termux-api package version: 0.59.1
  • Android OS version: 15
  • Device model: Moto G54 5G

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