[GH-ISSUE #220] Android app: parameter "clear" for action button doesn't work with action "view" #175

Closed
opened 2026-05-07 00:21:06 +02:00 by BreizhHardware · 1 comment

Originally created by @cmeis on GitHub (Apr 23, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/220

Android app (test build from Discord / https://phil.nopaste.net/T7d7JOvNRH?d=1&f=app-play-debug.apk&a=uVxXKVl4wn) is not behaving correctly with "view" action and the "clear" parameter set to true.
In this case my app clears the notification, but does NOT execute the "view" action.

Example request:

{
    "topic": "transfer",
    "message": "I got a new pickup point",
    "actions": [
      {
        "action": "view",
        "label": "meet me here",
        "url": "geo:47.421087468386155, 10.985437463216053",
        "clear": true
      }
    ]
  }

If the "clear" parameter is set to false (or not set at all, as false is the default), the action is executed.

Originally created by @cmeis on GitHub (Apr 23, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/220 Android app (test build from Discord / https://phil.nopaste.net/T7d7JOvNRH?d=1&f=app-play-debug.apk&a=uVxXKVl4wn) is not behaving correctly with "view" action and the "clear" parameter set to true. In this case my app clears the notification, but does NOT execute the "view" action. Example request: ``` { "topic": "transfer", "message": "I got a new pickup point", "actions": [ { "action": "view", "label": "meet me here", "url": "geo:47.421087468386155, 10.985437463216053", "clear": true } ] } ``` If the "clear" parameter is set to false (or not set at all, as false is the default), the action is executed.
BreizhHardware 2026-05-07 00:21:06 +02:00
Author
Owner

@binwiederhier commented on GitHub (Apr 24, 2022):

Fixed in github.com/binwiederhier/ntfy-android@e4255212ef

<!-- gh-comment-id:1107675229 --> @binwiederhier commented on GitHub (Apr 24, 2022): Fixed in https://github.com/binwiederhier/ntfy-android/commit/e4255212effc2865fbdfc77b637e7b43a2fa0b97
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#175
No description provided.