Skip to content

Complete superseded background fetch handlers#598

Open
nvphungdev wants to merge 1 commit into
stakwork:masterfrom
nvphungdev:fix-background-fetch-completions
Open

Complete superseded background fetch handlers#598
nvphungdev wants to merge 1 commit into
stakwork:masterfrom
nvphungdev:fix-background-fetch-completions

Conversation

@nvphungdev
Copy link
Copy Markdown

Summary

  • complete a pending silent-push fetch handler with noData when a newer debounced push replaces it
  • avoid overwriting the active background fetch completion handler when another fetch is already running
  • keep duplicate background fetches from leaving iOS completion handlers unresolved

Validation

  • git diff --check
  • xcrun swiftc -parse sphinx/AppDelegate.swift sphinx/Crypter/SphinxOnionManager.swift

Closes #162.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improves messages background fetch

1 participant