You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request: if the user selects primaryQuitButton, func setDeferralTime should add the duration of the current refreshCycle timer when setting the deferRunUntil time.
#548
Closed
bradtchapman opened this issue
Feb 23, 2024
· 3 comments
Please update this function and any relevant functions to take into account the current refreshCycle timers used for initial-, approaching-, and imminentRefreshCycles.
The request here is to allow administrators to guarantee that Nudge will not appear again before the promised refresh interval, whether they ignore the app or if they choose to quit / defer it until later.
The text was updated successfully, but these errors were encountered:
Are there any concerns that the refreshCycles are smaller in seconds than the launchagent interval in seconds? Let's say an admin has set the imminent refreshcycle to less than 30 minutes, but the launch agent is only going to do every 30.
I can see how this is beneficial for the inverse, which is likely why you asked for it, but the inverse issue will then occur.
I've personally always seen primaryQuitButton as the easiest escape hatch, but that it will then rely on your launch agent triggers. If users want more control, they use the other options afforded to them by taking a few seconds out of their day to figure out what's best for them.
I'm worried if I add this, it's just giving people longer times away from updating with even more convenience.
I spoke with Brad and this concern is not valid for him. This makes the code easier to implement if I ignore this problem, with the caveat that this is opt-in by the admin and they understand this.
nudge/Nudge/Utilities/Utils.swift
Line 872 in 92a5e13
Please update this function and any relevant functions to take into account the current refreshCycle timers used for
initial-
,approaching-
, andimminentRefreshCycles
.The request here is to allow administrators to guarantee that Nudge will not appear again before the promised refresh interval, whether they ignore the app or if they choose to quit / defer it until later.
The text was updated successfully, but these errors were encountered: