iOS: unread badge on the app icon #421
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Built in
3626a30, build 4 in TestFlight. Not yet seen on a phone.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.
Correction to the comment above: the commit is
e641494.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.