[GH-ISSUE #642] android: UnifiedPush unregister doesn't remove the subscription from the list #477

Closed
opened 2026-05-07 00:24:35 +02:00 by BreizhHardware · 3 comments

Originally created by @emersion on GitHub (Feb 28, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/642

I'm using the UnifiedPush SDK.

When calling unregister on an existing endpoint, my onUnregistered callback gets triggered as expected, however the subscription remains listed in the ntfy app. This causes the list in the app to grow in an unbounded fashion, ending up with hundreds of subscriptions after a month or so.

Originally created by @emersion on GitHub (Feb 28, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/642 I'm using the UnifiedPush SDK. When calling `unregister` on an existing endpoint, my `onUnregistered` callback gets triggered as expected, however the subscription remains listed in the ntfy app. This causes the list in the app to grow in an unbounded fashion, ending up with hundreds of subscriptions after a month or so.
Author
Owner

@emersion commented on GitHub (Feb 28, 2023):

my onUnregistered callback gets triggered as expected

This sounds like a bug in the Flutter connector sadly: https://github.com/UnifiedPush/flutter-connector/pull/115

<!-- gh-comment-id:1447817805 --> @emersion commented on GitHub (Feb 28, 2023): > my onUnregistered callback gets triggered as expected This sounds like a bug in the Flutter connector sadly: https://github.com/UnifiedPush/flutter-connector/pull/115
Author
Owner

@binwiederhier commented on GitHub (Mar 1, 2023):

I am always happy to help, but this seems like it should not be a bug report in ntfy, no?

I am respectfully closing this ticket, but feel free to comment and we can discuss more.

<!-- gh-comment-id:1449146967 --> @binwiederhier commented on GitHub (Mar 1, 2023): I am always happy to help, but this seems like it should not be a bug report in ntfy, no? I am respectfully closing this ticket, but feel free to comment and we can discuss more.
Author
Owner

@emersion commented on GitHub (Mar 1, 2023):

Yup, apologies -- sounds like the bug is elsewhere, not in ntfy.

<!-- gh-comment-id:1450985749 --> @emersion commented on GitHub (Mar 1, 2023): Yup, apologies -- sounds like the bug is elsewhere, not in ntfy.
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#477
No description provided.