-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sparkle scheduled update not working #507
Comments
Are you able to contact users and ask them to manually update or trigger the update check? With regard to notifying users that an update is available, consider using a I have successfully used a Be aware that the latest release of Sparkle is v1.9. Updating to the latest Sparkle will fix many bugs. Others will be along to help debug the |
Hi Graham, Actually I have updated to the latest Sparkle version in a newly released version. However the existing users out there did not updated yet to this new app version. (I have some kind of metrics to check that). |
Have zero existing users updated? Are you able to measure the web traffic to your Can you determine the difference between users who are being prompted to update but choose not to? |
I have no way to measure traffic, or to differentiate between users who are being prompted to update but choose not to. The metrics that I am referring to is a users table which gets updated bases on user activity. Based on that I am being able to see that are lots of users which did not update for 1 week, but are active. There may be users who dismiss the update, but I doubt that all of them did so. (since I noticed the SULastCheckTime issues above). So my conclusion remains the same. For some reasons the scheduled check for updates fails to work properly. |
We have an application containing Sparkle framework, which is already released in the field, and it seems that fails to make the the scheduled check for updates for some reasons.
The application has LSUIElement=YES.
Here are other values from Info.plist:
SUAllowsAutomaticUpdates=YES
SUEnableAutomaticChecks=YES
SUFeedURL="..."
SUPublicDSAKey="..."
Sparkle version that reproduces this problem is 1.5 Beta (git)
OSes that encounter this issue: 10.9, 10.10. That may be other too, but I have not tested it.
Note that making manually check for updates by calling checkForUpdates: method, works as expected.
Things that I have played with/I am aware of:
Sparkle uses NSTimer to schedule an update, which might be delayed if computer sleeps.
From Sparkle wiki and code it seems that the default check period is 24 hours, if none is specified.
I tried to set the SULastCheckTime sometime in the past(from code, and not manually) and after that start the application and wait for it to make the check.
Modified SUScheduledCheckInterval to 3600(minimum accepted value for release version).
There were several scenarios that I've noticed:
Does anyone encountered any issues with scheduled updates?( note that I looked over #332, but it does not apply to me).
Is there anything I am doing wrong?
Is there anything on the Sparkle feed that I can modify so I can force display the update dialog even if the app is not active?(#2 ffrom above)
Thanks for your answers!
Ciprian
The text was updated successfully, but these errors were encountered: