Skip to content

bug(ios): task creation bypasses the selected export app; push registration lacks recovery #24179

Closed

Description

@aryanorastar

A Discord report describes missing lock-screen pushes on an iPhone 16 Pro (reported iOS 27.2 Beta) and tasks going to Apple Reminders despite Todoist being selected. The exact build/account and a failed event time have not been supplied, so the customer's specific push cause is unconfirmed.

Main at a03d082 contains two reproducible task-routing gaps: automatic manual-create export checks EventKit permission without the saved default, and bulk Export uses the first connected integration (Apple precedes Todoist). The existing backend cloud auto-export path must remain intact; explicit individual exports and existing reminder links must remain intact.

Existing sign-in and restored Home/AppShell hooks already request registration. Their one-shot implementation lacks foreground/permission recovery after delayed APNs or refused persistence and installs token-refresh listeners repeatedly. Reuse these authenticated entry points; auth-generation changes revoke old work rather than admitting a replacement account automatically. Repair these client boundaries through one bounded registrar owned by the authenticated session generation. A receipt counts only after accepted HTTP persistence; stale account callbacks must never send with the replacement account.

Acceptance: production-provider/button regressions for both connected apps with Todoist selected, no fallback on unknown/failed/disconnected status, selection cancellation and bounded waits; token delay/retry/rotation/account-generation/deadline tests; local iOS simulator/HTTP integration with synthetic data; final diff and current-head required checks. Create a draft PR and keep it draft until the gates pass.

This is client-only with existing API shapes; no backend deployment or production data mutation is proposed. Mobile release is distinct from merge. Support separately collects the app build, notification settings and a failed event time/UID privately and verifies this customer's released outcome. No recovery or guaranteed push delivery is claimed.

Activity

  1. moved this from Someday to In progress in omi TODO / bountieson Oct 31, 2026
  2. aryanorastar commented on Nov 6, 2026

    @aryanorastar
    CollaboratorAuthor

    Additional iPhone report for push registration and delivery

    A separate Featurebase report describes an iPhone that has never shown Omi pushes, including daily summaries, despite iOS permissions enabled and notification frequency set to Maximum. A private integration made five background tests on Oct 18 against POST /v2/integrations/{app_id}/notification. Every request returned HTTP 200 {"status":"Ok"} and no notification appeared. App build, iOS version, exact times and token state remain unverified. The source is retained in Support because it includes account contact details.

    • On current main, the integration route returns 200 for a dispatch outcome with zero accepted sends. The sender returns zero when no tokens exist, every send is rejected, or sending fails. The dispatcher carries the count internally. This response therefore cannot distinguish a missing token from another transport or display failure.
    • fix(app): respect task export choice and recover push registration #24182 is the existing draft for client registration recovery. This report adds an independent producer to verify after the fix. Use a signed-in iPhone and correlate registration receipt, FCM acceptance and an actual visible background push. Check daily recap generation and scheduling independently from recap push delivery. Keep token values and credentials out of diagnostics and preserve the existing public API contract while investigating.

    The five responses are customer-reported. There has been no account-level token check or re-registration for this case.

  3. featurebase-for-github commented on Nov 6, 2026

    @featurebase-for-github

    This issue is linked to our feedback platform. For feedback and updates, please visit this link.

  4. moved this from In progress to In review in omi TODO / bountieson Nov 6, 2026
  5. added a commit that references this issue on Nov 6, 2026
    05dcd60
  6. aryanorastar commented on Nov 9, 2026

    @aryanorastar
    CollaboratorAuthor

    Customer follow-up and current release boundary

    The original reporter's private follow-up confirms that an automatic-only Todoist test failed on November 1 at approximately 15:40 Europe/Berlin. A later email on November 2 says automatic Omi → Todoist delivery resumed after an App Store update installed around 22:00 Berlin on November 1. Record that customer-specific task-delivery complaint as resolved; no further repeat test is needed now. The installed post-update build is unknown, and Apple Reminders permission had separately been disabled, so the specific corrective cause is unverified.

    This recovery predates #24182, merged November 6 at 15:19 UTC (05dcd6065f9f396c5cb9f883868db72cb8bf908e), and must not be attributed to that PR or a release containing it. The merge is present on checked main 360bb94035d416034946fb30d9bc92110f886c0f.

    The same follow-up does not confirm visible push delivery or recovered registration. Support retains that notification complaint separately; the already supplied notification permissions, Focus allowances, account/build/window and short after-the-fact log should not be requested again. The earlier account trace established missing push destinations for data-only task-sync sends, not proof that an expected lock-screen alert was generated.

    #24179 is CLOSED/completed with the merge. The final PR scope requires backend release before mobile for ordered token persistence, superseding the original client-only proposal. Rollout checklist

    November 9 release verification

    The backend fix is deployed and serving production traffic. Run 42456164325 completed November 8 at07:06UTC; its serving-release artifact proves source 5f08bbb2d8de5accadd4197baedbf4303a5b6e4a, ready revision backend-5f08bbb-42456164325-1, and100% traffic. The later run42569826130 proves source fd1d5bba6b46a5e8c2c5d424344a197a38736e36 serving100% at revision backend-fd1d5bb-42569826130-1. Both sources contain #24182. This is serving evidence, not just a successful build or candidate deployment.

    The iPhone fix is released in 1.0.588(1549). Codemagic binary build4362 resolves 1.0.588+1549 from 9dc8553cfc95ae44feb17332f3a18550fd09a5c7, which contains the merge. Store train52 submitted that exact version/build. The later live rollout109 reports iOS live1.0.588, with phased rollout active. Apple's Germany lookup lists1.0.588 released November9 at00:03:40UTC. App Store · Apple lookup

    Backend serving was verified before that store release. Automatic rollout is phased; this does not establish the customer's installed build, current registration or visible push delivery. Support now tracks notification account/delivery verification, with Todoist already resolved from the separate November2 confirmation. The reply can identify the released version and advise updating only if still on an earlier build; no repeated permissions, task test or log request. No deployment, push send or account/data mutation was performed in this investigation. Private evidence remains in the original email case.

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