-
My Info.plist looks like this:
On 1st app launch, it looks like these properties are respected: an app update is downloaded in the background, and on quit the app is updated. At this point, the only keys set in preferences plist is On 2nd app launch (the app is now up to date), the user receives the "Check for updates automatically?" dialog box. Responding to this box sets additional keys in the preference plist, according to the user's response. So my understanding was that by setting the Am I misunderstanding these flags? Or is this an edge case? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Ok I think I understand now. Some Info.plist customizations are only INITIAL values that will no longer be read/respected if the user makes setting changes via the default permissions dialog box. To set customizations, we should use properties/functions on the updater object itself, or possibly delegate implementations. |
Beta Was this translation helpful? Give feedback.
-
The permission prompt only shows up if Your second build after your update was probably configured differently than the first build you tested.
Info.plist settings are indeed for initial values and users can change those options from permissions dialog box, or from your app's settings if your app exposes settings for them.
Usually you only want to do this if your app exposes UI options for this like in your app's settings. Do not set these kinds of properties on the updater object randomly / all the time / every launch / etc. |
Beta Was this translation helpful? Give feedback.
The permission prompt only shows up if
SUEnableAutomaticChecks
is not set in the Info.plist. If you want the default behavior where Sparkle asks the user permission to check for updates automatically, do not setSUEnableAu…