Skip to content

bug(ios): push registration remains absent after recovery release; failures missing from diagnostic export #25870

Open

Description

@aryanorastar

A production iOS account still has no notification destination after the registration-recovery release in #24182: its device-token collection and legacy token are absent, and a production sender log returns “No tokens found” before Firebase dispatch. Answers appear in chat, but background notifications do not. Account telemetry establishes installed app progression from 1.0.591 (1559) to 1.0.594 (1587); reinstall, sign-out/in and notification settings have already been tried. This is a post-release investigation, not a request to repeat #24179's upgrade advice. Private account identity and exact event references remain in Support.

At current main 0906d0bf2d, app/lib/services/notifications/fcm_token_registration.dart has bounded APNs/token acquisition and accepted-persistence retries, but null results and retry exhaustion have no persisted diagnostic. Exceptions use Logger.debug, which only writes to Talker. app/lib/backend/http/api/notifications.dart similarly writes unsuccessful persistence status only to Talker; Developer “Share Logs” exports DebugLogManager files instead. The existing server, analytics and crash records therefore cannot distinguish missing APNs, token acquisition, local ordering-storage failure, or rejected persistence for this case. Restore registration-stage observability through the existing owner without changing auth-generation fences or exposing tokens, account identifiers, request bodies, or SDK error text. The notification-registration cause and account delivery remain unresolved; diagnostics alone must not be represented as a push-delivery fix.

Activity

  1. aryanorastar commented on Nov 20, 2026

    @aryanorastar
    CollaboratorAuthor

    Registration-path follow-up (2026-11-20):

    • Checked the historical deployed server source f92baff14418bfa46b64ac84f1eb64715855d32e, rather than assuming current main was deployed. Its /v1/users/fcm-token handler saves a supplied device token and returns Ok; it has no Pro gate and does not emit a successful-registration analytics event. Therefore absence of Push Token Status: registered cannot establish that a request never arrived.
    • Corrected the analytics event name to Push Token Status (with spaces). Account-scoped query returned no registered/invalidated events. A project aggregate for the incident interval contained invalidation events but no registered events. This is a coverage limitation, not proof of no previous registration.
    • Token cleanup can remove permanently rejected tokens; bulk cleanup has no per-user invalidation event. No account-specific deletion was established. A completed bounded Firestore audit search around the recorded sign-in returned no matching token-document records; this does not prove no write/deletion occurred outside that window or in unrecorded data access.
    • The recorded client-source registrar already retries APNs, FCM token acquisition, timezone and persistence; resume restarts its retry budget. The installed local Firebase Messaging plugin calls native remote-notification registration at initialization; simply adding that call to AppDelegate is not an evidence-backed fix.
    • Support cannot construct a valid installation token from a UID or repair an empty collection by clearing stale tokens. Recovery requires a valid device-generated token, successful authenticated persistence, and then verified background delivery. No production mutation or test send was performed.

    The omitted client failure stage remains the blocker. Draft #25873 exposes that stage through opt-in diagnostics; it is not a delivery fix. Review/release gates and a bounded registration result are required before choosing a behavioral fix. Do not prescribe another reinstall or label the separately observed storage failure as the cause.

  2. aryanorastar commented on Nov 21, 2026

    @aryanorastar
    CollaboratorAuthor

    Support independently checked a second iOS reporter who still receives no background notifications. We matched the private support correspondence to that reporter’s own authenticated account. Its production device-token collection currently has no documents, and its user record has no legacy fallback token. There was recent mobile activity. This is a second confirmed account with the missing registration described here.

    The customer supplied a missed-alert time. Today’s empty registration does not establish the token state at that earlier time, how it became empty, or an Apple rejection. Keep the registration and background-delivery checks account-specific. No token was created or cleared, and no test notification was sent.

  3. omiagent commented on Nov 24, 2026

    @omiagent
    Contributor

    community-signal: notifications

    +1 new evidence (reviewed 2026-11-24) — 8 reporter(s):

    [community-signal] notifications: iOS gets no push at all — "omi says" replies only in the app chat

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions