Invisible updates / silent updates to my app in the background not working always #2749
Replies: 1 comment 3 replies
-
When When updates cannot be installed silently on quit on the system (e.g. they require authorization to replace the app bundle with a user name & password, which can be simulated locally via
There can be issues with how user defaults from containers migrate if a sandboxed app later becomes non-sandboxed. The other way should do the migration properly. I may just check what the SUAutomaticallyUpdate and SUEnableAutomaticChecks defaults reads as. That overrides the initial Info.plist keys. But if the checkbox looks like it's on, then it doesn't seem likely a problem. Another thing is that Sparkle doesn't refresh/download new updates if there's already an update that's been downloaded/staged to be installed on quit. If you run |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm developing an app that whose info.plist looks like this:
As you can see I've configured the app to check for updates every hour and download and install them automatically. New versions should run everytime app is quit and launched again.
The flow of sparkle, as I understand it, is that after configuring these settings, when Sparkle first detects an update available, it'll prompt the user the following dialog by default:
and then once the user selects the automatic update checkbox:
after this, there is no manual intervention needed for updating. The app will check for updated every hour, and if it detects, it'll download as well, as long as the app is running, and install on next Quit -> Relaunch.
This is the ideal flow!
But for a beta tester of my app, even after checking the automatic update checkbox, the tester doesn't get silent updates. They can manually download however. They leave the app running for hours, with network connectivity, but then still remain on their current version, even if I push an update.
I'm wondering how to fix this because the silent updates work for me on my computer. The app has always been sandboxed. But I suspect that the beta tester had a version of the app where I didn't configure Sparkle settings to be available for Sandboxed apps.
Not sure though if that's the reason.
I'm thinking of suggesting to the user to manually delete all prev versions of the app from their machine, download the latest app with the above Sparkle settings and then testing again with a new update.
Is that the correct way to go about this or am I missing something? Please let me know if the behaviour I laid in ideal flow is correct and if you may need any other information about my settings.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions