Skip to content

Android background push delivery #1

Closed

Description

@cheetahbyte

Parent: crumble-project/bot#1

Status (2026-10-20)

On hold until a mobile notification model is selected. Do not introduce FCM, UnifiedPush, a hosted relay, or provider registration as part of current work. Existing Android SSE and foreground/local notification features remain in place.

Preserved scope for later

  • Select transport after Research mobile push delivery and deployment model bot#2 establishes constraints, including self-hosting and OS limitations.
  • Handle installation registration/revocation, token rotation, disconnect/reconnect, server switching and notification opt-out as needed by the chosen provider.
  • Deliver notifications in actually supported background/process-dead states; do not assume Android force-stop delivery.
  • Preserve permission handling, visible-chat suppression, bot-origin filtering and notification click routing to the correct server/chat.
  • Design SSE/push deduplication around a stable event identity and verify actual device behavior.
  • Test failures, token changes, app states and lifecycle handling, document any infrastructure/credentials.

Potential future backend dependency: crumble-project/bot#3. No current implementation commitment.

Activity

  1. changed the title [-]Add Android background push delivery and registration lifecycle[/-] [+][Deferred] Android background push delivery[/+] on Oct 20, 2026
  2. changed the title [-][Deferred] Android background push delivery[/-] [+]Android background push delivery[/+] on Oct 20, 2026
  3. crumblebot commented on Nov 7, 2026

    @crumblebot

    Implemented: FCM was chosen and built. #8 verified a bot reply arriving as an FCM notification with the app in the background on a Pixel 9 Pro, #9 ships release APKs with FCM, and crumble-project/bot#129 adds the server's APNs/FCM setup. Not verified from this issue's checklist: delivery after the process is killed, and SSE/push deduplication. Open a new issue if either turns out to be a problem.

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

    area:androidAndroid application.enhancementNew feature or requestpush-notificationsServer-driven push notifications across Crumble clients.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions