paritytech / paritytech/host-rust-core

RFC: Push notification subscriptions

Open
#482 0 comments 0 reactions 1 assignee View on GitHub

@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

  • signer is mandatory on every rule, and every operation is scoped to the calling user's own subscription.
  • add and remove are idempotent; set replaces the whole set atomically; list is read-only.
  • The product never sees a push token.
  • push_broadcast is interim, and its signer is not product-overridable.

Tasks

  • RFC document body
  • Implementation — rust-core
  • Implementation — hosts
    • dotli
    • Desktop
    • iOS
    • Android
    • host-cli

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.