iOS: unread badge on the app icon #421

Closed
opened 2026-11-08 10:44:59 -08:00 by rays · 4 comments
Owner

The icon shows All Subscriptions' unread count, as the page's badge does (feeds not hidden from All, nor in an OPML hidden from it, #288). Set from /api/feeds when the app comes forward, after the player marks an item read, and by a background refresh while it is closed; push would make it exact (APNs, needs a sender in ipx) and is not done.

The icon shows All Subscriptions' unread count, as the page's badge does (feeds not hidden from All, nor in an OPML hidden from it, #288). Set from /api/feeds when the app comes forward, after the player marks an item read, and by a background refresh while it is closed; push would make it exact (APNs, needs a sender in ipx) and is not done.
rays added the enhancement label 2026-11-08 10:44:59 -08:00
Author
Owner

Built in 3626a30, build 4 in TestFlight. Not yet seen on a phone.

Built in 3626a30, build 4 in TestFlight. Not yet seen on a phone.
Author
Owner

Reported: the count only changes when the app is opened. Fixed what can be in 0e0... (see below), TestFlight build 10 plus an ipx-web deploy: the page now sends its All Subscriptions count to the app whenever its list changes (reads, new items over the event stream), and while an episode plays the app re-checks every 15 minutes. With the app closed and nothing playing it still depends on iOS's background refresh, which iOS rations; push (#433) is the real fix for that.

Reported: the count only changes when the app is opened. Fixed what can be in 0e0... (see below), TestFlight build 10 plus an ipx-web deploy: the page now sends its All Subscriptions count to the app whenever its list changes (reads, new items over the event stream), and while an episode plays the app re-checks every 15 minutes. With the app closed and nothing playing it still depends on iOS's background refresh, which iOS rations; push (#433) is the real fix for that.
Author
Owner

Correction to the comment above: the commit is e641494.

Correction to the comment above: the commit is e641494.
Author
Owner

With push (#433) working, the icon count is exact with the app closed; background refresh stays as a fallback for a server without [push]. Verified on the phone.

With push (#433) working, the icon count is exact with the app closed; background refresh stays as a fallback for a server without [push]. Verified on the phone.
rays closed this issue 2026-11-08 16:19:06 -08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#421