Skip to content

Title: Live Activity stops receiving APNs push updates after ~20-30 minutes while app is killed #119

Closed as not planned

Description

@Nalymoslih

Library Version

1.2.1

React Native Version

0.83.2

React Version

19.2.0

Expo Version

.

Minimal Reproduction

.

Additional Information (Optional)

We're using Voltra's useLiveActivity hook to manage Live Activities for order
tracking. The Live Activity starts correctly and receives APNs push updates
(event: "update" with content-state) for the first 20-30 minutes. After that,
the Live Activity stops updating from server-side pushes, even though APNs
returns 200 for the push.

Activity

  1. added
    bug
    on Mar 25, 2026
  2. giedriusre commented on Apr 7, 2026

    @giedriusre

    This case still is relevant?

  3. Nalymoslih commented on Apr 30, 2026

    @Nalymoslih
    Author

    This case still is relevant?

    Yes, still relevant

  4. V3RON commented on May 5, 2026

    @V3RON
    Contributor

    Hey @Nalymoslih 👋
    I tried reproducing this issue in the example app. I started a basic Live Activity, waited for 20 minutes, and sent an update. It was applied correctly. I then waited another 10 minutes and sent another update - it was also applied correctly.

    Is there anything else you can share to make it easier to reproduce this issue on my side?

  5. Nalymoslih commented on May 12, 2026

    @Nalymoslih
    Author

    Hey @V3RON , thanks for taking a look! 🙏

    I think the basic test doesn't reproduce it because two updates over 30 minutes won't approach iOS's
    high-priority APNs budget for Live Activities. The symptom only shows up after the budget is exhausted
    while the app is killed. Here are the details that I think matter:

    Our setup vs. a "basic" activity

    • Priority 10 on every push — we were sending all updates with apns-priority: 10.
    • No stale-date on updates — only the initial start set one (3h). Updates never refreshed it.
    • No apns-expiration — pushes were fire-and-forget.
    • Brotli-compressed Voltra UI payload in content-state — not a small POJO ContentState. The widget
      extension has to decompress and re-render the full component tree on every push.
    • Bursty updates — a real order generates several status transitions clustered in time (pending →
      processing → order_isready → driver assigned → ontheway), plus location/ETA refreshes.

    Expected: APNs returns 200 but the lock screen / Dynamic Island does not refresh visually. Subsequent
    updates remain silent until something kicks the activity again (e.g. the user opens the app).

  6. draggie commented on May 27, 2026

    @draggie
    Contributor

    Hey @Nalymoslih , thanks for the extra details.

    I added a dedicated token-based APNs test harness for this so we could test closer to the
    production pattern you described.

    What I tested on a physical device:

    • Started a token-based Live Activity.
    • Sent multiple priority 10 updates in bursts.
    • Killed/backgrounded the app.
    • Waited ~30 minutes.
    • Sent another priority 10 update.
    • Also tested lower-priority 5 updates afterward.

    Result:

    • Priority 10 updates continued to refresh the Lock Screen / Dynamic Island, including after
      the burst and the ~30 minute wait.
    • I could not reproduce a permanent state where APNs returns success but the Live Activity
      stops visually updating.
    • Priority 5 updates did not refresh immediately, but they did update after some delay. That
      seems consistent with APNs treating priority 5 as power-efficient/deferred delivery rather
      than immediate delivery.

    One important thing I noticed: for priority 5, a short apns-expiration can make the update
    look like it was dropped, because APNs/iOS may defer delivery beyond the expiration window.
    With a longer expiration and refreshed stale-date, the update eventually appeared.

    Based on this testing, I do not currently see evidence of a Voltra rendering/token issue.

  7. manapard commented on Nov 20, 2026

    @manapard
    Collaborator

    Hi, thanks for all the detail. Neither V3RON nor draggie could reproduce a Live Activity that stops updating. What you describe matches iOS's budget for high-priority Live Activity pushes: once it's used up, APNs still accepts apns-priority: 10 pushes, but iOS stops applying them for a while. Apple's guidance is to send routine updates with priority 5 and keep 10 for the important ones. Apps that need many updates can add NSSupportsLiveActivitiesFrequentUpdates to their Info.plist, which users can turn off in Settings.

    Closing, since this is iOS behaviour rather than something Voltra controls. Comment here if you still see it with priority 5.

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

    bugplatform:iOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions