Push notifications & privacy — the short version for phone users

FP Client can tell you about new reactions, comments, boosts and followers while the app is closed. It offers three levels of delivery, and you choose how fast you want them. This page explains — in plain language — where your notifications travel, what the server on the other end can and cannot see, and how to undo any of it.

The short version, because it is the part people actually care about:

Your notification key never leaves your phone — not even for instant delivery. Every server in this chain, including the one that might be operated by a stranger, sees only sealed envelopes it cannot open.

You do not need to understand the machines behind this. The point of this page is that you should not have to trust a black box: each mode below comes with a clear promise about what leaves your phone, and a one-tap way back.


1. The three modes at a glance

ModeWhere it is setSpeedWhat leaves your phone
Background check (always available)Settings → Push~30 min, best effortNothing new. Your phone asks your FitPub instance for your notifications — exactly like opening the app. No third-party service, no relay.
Mailbox pushSettings → Push → Mailbox push~15 min, best effortSealed envelopes. Your phone uploads a tiny padlock to a mailbox and the FitPub instance drops encrypted messages in it. The mailbox cannot read them; the key never leaves your phone.
Instant via ntfy (optional)Settings → Push → Instant deliverySecondsNothing extra. The same sealed envelopes are copied to your own ntfy server, and this app decrypts them. The key stays on your phone.

"Best effort" is not a hedge — Android may delay background work to save battery. Only the instant mode is in seconds, and only because it needs a permanent notification and a battery-optimization exemption (see §6).


2. What a "mailbox" is

Think of a post box with a slot and a code:

The mailbox is deliberately boring: it stores bytes it cannot read, under a random address, and forgets everything when you turn the feature off. It has no password, no login and no token of yours — it could not reach your account even if it wanted to.

Dropping the letters in is a pull, not a trust fall: it is the same encrypted channel every "send a push notification" system uses (the standard is called Web Push), except the middle-man is your own box instead of a giant cloud.


3. What travels where

Background check (no mailbox)

Nothing new. Your phone signs in to your FitPub instance and asks GET notifications. The instance sees what it always sees: that you are using your account.

Mailbox push

The mailbox (wherever it runs) can see:

It cannot see the text of your notifications, the activity behind them, who reacted, or anything about your account.

Instant via ntfy

Instant mode does not change the trust boundary. Your phone sends:

From then on, each notification is copied to that topic exactly as it arrived — still encrypted. The ntfy server and the mailbox can both see only the same sealed envelope the ~15 minute mode already gave them. The app itself subscribes to the topic over a direct connection and decrypts on the phone, so there is no second app to install and nothing to configure elsewhere. The ntfy server keeps recent messages in a small cache (roughly 12 hours by default) so a phone that was offline still gets them when it returns; anything older than that is delivered by the ~15 minute check instead, as it already was.

The topic name is a secret in the same way the mailbox address is: it is 128 random bits generated on your phone, and anyone who learns it can read these notifications. FP Client never displays it as something to share.

An earlier version of this feature (8i) did hand over the decryption key so the mailbox could decrypt and forward readable text. That version is gone: the key upload was removed, the relay no longer contains any decryption code at all, and PUT /push/<id>/forward now ignores a keys object for one release purely so older phones do not get an error.

Never sent, in any mode


4. Who is "the VPS", and why it matters

The mailbox and the optional ntfy server run on a small private server (usually called a VPS). What it can see depends on the mode:

So the VPS operator's reach does not grow when you switch instant delivery on. That is the whole point of the current version, and it is a change from the first version of this feature, where turning instant mode on genuinely did hand that operator the ability to read your notification texts.

The honest summary:

All three modes — the server is a locked box; it cannot read your notifications. Instant mode only changes how fast the locked box is opened, and it is opened by your phone.

Two things are still worth remembering, because they are true of any network service and are not specific to instant mode:

If you would rather not have a second copy on disk at all, leave instant mode off: you keep mailbox push (~15 minutes) or the background check (~30 minutes), both with the key on your phone.

5. Turning it off (and what that erases)

Everything is revocable from Settings → Push, and you never have to contact anyone:

ActionEffect
Disable instant deliveryThe mailbox is told to stop publishing to the topic and forgets it. The copy already sitting in the ntfy cache is not recalled, so if you want it gone from disk, clear the topic on the ntfy server too. Mailbox push keeps working.
Disable mailbox pushRuns one standard unsubscribe with your FitPub instance, deletes the mailbox, and wipes the keys on your phone.
Sign out / uninstallThe stored keys are app-private and die with the app data.
Do nothing at allA mailbox your phone has not touched for ~30 days expires by itself, and your FitPub instance forgets it.

The unsubscribe step is the same call the official apps use: DELETE /api/web/push/subscribe. It is a single request, and it is what the trust sentence in the app means when it says the key is "revoked by one DELETE".


6. A word about battery settings (instant mode only)

Instant delivery works by holding one connection open, and Android only lets an app do that in the foreground. So the first time you switch it on, FP Client asks you to allow a foreground service and you will see a small permanent notification — "Listening for notifications". It is not a second app's notification and not a bug: it is how Android shows that something is running, and removing it would mean losing the instant part.

Two things follow:

You can also hide the ongoing notification entirely: it has its own channel, so switching just that channel off (Settings → Push → Hide it, or Android → Apps → FP Client → Notifications → FitPub instant delivery) makes it vanish while the connection keeps running. Your actual notifications arrive on a different channel and are unaffected. On Android 13 and later you can also just swipe it away, and it carries a Stop button if you would rather turn instant delivery off completely.

7. Tiny technical appendix (optional)

For the curious