Skip to content

[iOS] Tune background-sync timeout against iOS 26 background-grant tightening #79

@pvg13

Description

@pvg13

Context

The APNs-wake background sync uses a 25s timeout (WaveSyncPushHandlerwavesync_background_sync_targeted(..., 25, ...)), chosen to fit inside the historical ~30s background grant. iOS 26 tightened background execution, so the grant may occasionally be shorter.

Task

  • Confirm on-device how much background time the silent-push wake actually gets on iOS 26.
  • Keep the timeout conservative; ensure a truncated / partial sync returns gracefully (UIBackgroundFetchResult) and relies on the next foreground resume (already wired via the lifecycle observer).
  • Adjust the 25s value if measurements warrant.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:lowEdge case or minor impacttopic:lifecycleStartup, shutdown, restart, resumetopic:portabilityMulti-backend, IPv6, OS-specific

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions