Skip to content

Push notifications: real push delivery (FCM/UnifiedPush) with enriched display + deep links #19

Closed

Description

@Quick104

Summary

Android currently receives notifications only via the in-app WebSocket inbox — nothing arrives when the app is closed. Add real push delivery to reach parity with the Apple clients (APNs + NotificationService enrichment + deep links + background sync).

Apple reference implementation

  • silo-apple/iosApp/iosApp/Notifications/ — APNs registration (POST /api/v1/notifications/push/apple/register), foreground/background handling, tap → deep link via continuum:// route
  • silo-apple/iosApp/NotificationService/ — extension enriches push via GET /api/v1/notifications/push/apple/display/{deliveryID} (includes X-Profile-Token for PIN-protected profiles), falls back to raw payload
  • Background pushes trigger inbox + download-monitoring sync with a 20s deadline

Scope / decisions needed

  • Transport decision: FCM vs UnifiedPush (the workspace has a silo-push-relay repo — evaluate it as the relay for either transport; server-side registration endpoint for Android will be needed in silo-server)
  • Device registration tied to server + profile, mirroring the Apple register API shape
  • Notification display: fetch display metadata by delivery ID (same enrichment pattern), respect PIN-protected profile tokens
  • Tap → deep link into the app (item detail / inbox), aligned with existing deep-link handling
  • Background sync hook on push receipt (inbox refresh; later: download automation)
  • Notification channels + runtime permission (API 33+)

Acceptance criteria

  • Notification delivered and rendered with title/body/deep-link while the app is fully closed
  • PIN-protected profile metadata is not leaked (403 path falls back to generic content)
  • Phone build passes; document server-side coordination points

Part of the July 2026 Android↔Apple parity audit.

Activity

  1. added
    enhancement
    parity-audit
    on Jul 3, 2026
  2. Quick104 commented on Sep 11, 2026

    @Quick104
    ContributorAuthor

    Closing as shipped: FCM push registration/receiver + relay enrichment are on main (SiloFirebaseMessagingService / PushMessageHandler), with merged PRs #71 and #100; README documents Silo content-free push relay delivery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementparity-audit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions