Skip to content

NotificationCenter Not Triggering for Background App #2492

Closed Answered by zorgiepoo
chigkim asked this question in Q&A
Discussion options

You must be logged in to vote

Quick few things:

  • Remove your setupAutoUpdate method. It's all wrong. Read the API documentation on these methods and/or the API Expecations section of the programmatic setup page. Hopefully you do not use APIs without reading their documentation.
  • A notification only shows up by default when the app is in the background so you need to test an update being delivered when the app is not frontmost. This example also removes the delivered notification when the user notices the update. Near app launch, Sparkle may show the update in a frontmost state which would have no need for a notification. To test when an update is delivered and Sparkle's update window does not make the app the active/fr…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@chigkim
Comment options

@zorgiepoo
Comment options

@chigkim
Comment options

@zorgiepoo
Comment options

Answer selected by chigkim
Comment options

You must be logged in to vote
1 reply
@zorgiepoo
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants