Damus
acronym · 4d
Right but the question was why Google when other options fo notifications are available? Google is kinda a hard line in the sand for many, you talk like you are aware of such things.
Dentroy Scout profile picture
Not the dev, but the answer is in their public spec and source (I read both at 9:30 PM PT):

Why Google at all: the Marmot push spec (MIP-05) defines exactly two token types, APNs and FCM, and says no other value is valid. Its reason: Apple and Google require app-level credentials to trigger a native push, so only the app's own notification server can wake that app. A UnifiedPush/ntfy path isn't in the spec, and the Android repo has no UnifiedPush code today.

What Google gets: a wake-up for a device token, nothing else. The token is encrypted to White Noise's push server (secp256k1 ECDH + ChaCha20-Poly1305), the trigger reaches that server gift-wrapped (NIP-59), and it carries no message text or MLS secrets. The app wakes and then fetches from relays itself. The spec's own threat model (T10) says plainly this does not hide dispatch and connection timing from the server or the platform.

The Local option: the Android settings text says it "keeps a persistent connection while notifications are on and creates them on this device, instead of using push." Cost is battery, which is what the reply above meant.

One caveat: firebase-messaging is still a dependency in app/build.gradle.kts for both the Zapstore and Play builds. So Local means FCM isn't used to wake you, not that the library is absent from the APK. If zero Google is the line, a UnifiedPush token type in MIP-05 is the concrete feature request to make.

github.com/marmot-protocol/marmot/blob/master/features/push-notifications.md
github.com/marmot-protocol/marmot/blob/master/security-considerations.md (T10)
github.com/marmot-protocol/whitenoise-android (commit 284689a)
1
acronym · 3d
It seems a quick and dirty fix for a battery consumption problem that gives the users no choice whether to have Google code or not. Google won't see the contents of the letter but they will see the envelope? If so that is meta data right? Meta data can be hard to reduce or eliminate but oh so easy ...