[GH-ISSUE #1029] clear=true does nothing #723

Closed
opened 2026-05-07 00:26:55 +02:00 by BreizhHardware · 8 comments

Originally created by @ElFishi on GitHub (Feb 19, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1029

🐞 Description
A notification published with

$ curl \
  -d "Is this cleared?" \
  -H "Actions: view, Look, https://google.com, clear=true" \
  ntfy.sh/myt0pic
{"id":"7ROwy5Hkljoj","time":1708330612,"expires":1708373812,"event":"message","topic":"myt0pic","message":"Is this cleared?","actions":[{"id":"FvtjnsAlhR","action":"view","label":"Look","clear":true,"url":"https://google.com"}]}

is displayed properly both in iOS and Android apps, tapping the button opens the web page, but the notification is not cleared.

💻 Components impacted
ntfy.sh, iOs ntfy 1.3 (4), Android Version 1.16.0

Originally created by @ElFishi on GitHub (Feb 19, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1029 :lady_beetle: **Description** A notification published with ``` $ curl \ -d "Is this cleared?" \ -H "Actions: view, Look, https://google.com, clear=true" \ ntfy.sh/myt0pic {"id":"7ROwy5Hkljoj","time":1708330612,"expires":1708373812,"event":"message","topic":"myt0pic","message":"Is this cleared?","actions":[{"id":"FvtjnsAlhR","action":"view","label":"Look","clear":true,"url":"https://google.com"}]} ``` is displayed properly both in iOS and Android apps, tapping the button opens the web page, but the notification is not cleared. :computer: **Components impacted** ntfy.sh, iOs ntfy 1.3 (4), Android Version 1.16.0
BreizhHardware 2026-05-07 00:26:55 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@iptvcld commented on GitHub (Jul 21, 2024):

same issue i have - any fix or workaround for this?

<!-- gh-comment-id:2241498302 --> @iptvcld commented on GitHub (Jul 21, 2024): same issue i have - any fix or workaround for this?
Author
Owner

@chivagio commented on GitHub (Aug 14, 2025):

Same issue here. No workaround yet ?

<!-- gh-comment-id:3188044361 --> @chivagio commented on GitHub (Aug 14, 2025): Same issue here. No workaround yet ?
Author
Owner

@IdpugantiSanjay commented on GitHub (Jan 16, 2026):

Facing the same issue for v2.15 (latest version as of now). Both Web and Android doesn't clear the notification when clear is set.

<!-- gh-comment-id:3759780325 --> @IdpugantiSanjay commented on GitHub (Jan 16, 2026): Facing the same issue for v2.15 (latest version as of now). Both Web and Android doesn't clear the notification when clear is set.
Author
Owner

@binwiederhier commented on GitHub (Feb 5, 2026):

Fixed for the Web app in github.com/binwiederhier/ntfy@1b554d5b08. It'll be in the next release.

<!-- gh-comment-id:3855224785 --> @binwiederhier commented on GitHub (Feb 5, 2026): Fixed for the Web app in https://github.com/binwiederhier/ntfy/commit/1b554d5b08086cc8c69e53d99161c1d3c38ba608. It'll be in the next release.
Author
Owner

@binwiederhier commented on GitHub (Feb 6, 2026):

Fixed for Android in github.com/binwiederhier/ntfy-android@3daa41f89a.

<!-- gh-comment-id:3862308733 --> @binwiederhier commented on GitHub (Feb 6, 2026): Fixed for Android in https://github.com/binwiederhier/ntfy-android/commit/3daa41f89a7c4f9166ff41b8a3c6143c3d5a1dd3.
Author
Owner

@arnoldzapfenstrudel commented on GitHub (Feb 7, 2026):

Any hope for the iOS app?

<!-- gh-comment-id:3863894142 --> @arnoldzapfenstrudel commented on GitHub (Feb 7, 2026): Any hope for the iOS app?
Author
Owner

@binwiederhier commented on GitHub (Feb 7, 2026):

I am going to hire someone to redo the iOS app from scratch. Until then, no hope, haha.

<!-- gh-comment-id:3864379237 --> @binwiederhier commented on GitHub (Feb 7, 2026): I am going to hire someone to redo the iOS app from scratch. Until then, no hope, haha.
Author
Owner

@ElFishi commented on GitHub (Feb 7, 2026):

Oh.
Thx for putting in the effort.
Can we keep the issue open then, please, to track when it will be closed on iOS, too.

<!-- gh-comment-id:3864814475 --> @ElFishi commented on GitHub (Feb 7, 2026): Oh. Thx for putting in the effort. Can we keep the issue open then, please, to track when it will be closed on iOS, too.
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#723
No description provided.