paritytech / paritytech/host-rust-core
RFC: Push notification subscriptions
Open
@pgherveou is already working on this.
Since Sep 11, 2026.
rfc
- Dominant language
- Swift
- Stars
- 10
- Forks
- 3
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 148
Description
Source PR: #87 · docs/rfcs/push-notification-subscriptions.md · @pgherveou
Description
Four methods let a product manage the (signer, topic) push whitelist on the user's own device; the backend pushes when a matching signed statement appears on the Statement Store. A fifth, push_broadcast, is an interim publish path where the host binds signer itself.
Motivation
Push v2 puts delivery behind a whitelist the user controls, but no TrUAPI method can edit it. Push tokens must stay in the backend and never reach a product.
Requirements
signeris mandatory on every rule, and every operation is scoped to the calling user's own subscription.addandremoveare idempotent;setreplaces the whole set atomically;listis read-only.- The product never sees a push token.
push_broadcastis interim, and itssigneris not product-overridable.
Tasks
- RFC document body
- Implementation — rust-core
- Implementation — hosts
- dotli
- Desktop
- iOS
- Android
- host-cli
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.