iPhones, browsers and Android
iOS does not let an app keep a background connection, and this is the one place where self-hosting depends on someone else. Without upstream-base-url, messages still reach iPhones, but the documentation warns it can take hours, or 20 to 30 minutes on a phone in use. With it set to https://ntfy.sh, your server posts a poll request to ntfy.sh for every message, carrying only the message ID and a SHA-256 hash of the topic URL; ntfy.sh passes it through Firebase to Apple's push service, and the phone then fetches the real text from your server. The content stays on your VPS, but the fact that a message arrived, and when, is visible to ntfy.sh, Google and Apple.
Android is cleaner. For any server other than ntfy.sh, the Android app keeps its own connection open and Firebase is not involved, so the F-Droid build works fully against your instance. The cost is battery; since app v1.25.2 the client pings every three minutes, and raising keepalive-interval in server.yml reduces wake-ups further. Browser background notifications need VAPID keys (docker compose exec ntfy ntfy webpush keys), the web-push-* options and a valid certificate, which Caddy provides; those messages pass through the browser vendor's push service.
