#gian_api

1 messages · Page 1 of 1 (latest)

past scaffoldBOT
#

đź‘‹ Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

đź”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1493997181915631767

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

prisma pollen
#

Constraints on our side:

We don’t have control over when the app connects (it’s designed to always stay connected)
We can’t realistically rely on staff to keep the app connected overnight
There’s no explicit update scheduling control exposed (as far as we can tell)

What we’re trying to achieve:

Ensure updates happen outside business hours (ideally after closing)
Avoid updates being triggered on the first connection of the day

radiant cairn
#

Hello! I'm looking into this 🙂

past scaffoldBOT
radiant cairn
#

2- Are there SDK hooks or signals (e.g., update available) that we can use to manage this more deterministically?
There are many relevent callbacks. Are you using iOS, Andoird, or React Native?

prisma pollen
#

Ohh, so ALL updates are optional before transforming into required? If that is the case, that would be helpful. So my follow-up questions would be:

• How much time does it take an update to change from optional to required?
• All updates are optional before changing to required?
• How frequently would you guys recommend that we check for updates?

rich pivot
#

hello! taking over for jazz - honestly i don't know the answers to these off the top of my head, but let me do some digging to see if i can find them

prisma pollen
#

hello! i'll wait for the response

rich pivot
#

looks like we typically give a 3 week grace period in which updates are optional, but that isn't guaranteed - they could become required faster sooner than that

#

similarly i don't think we would guarantee that updates will become optional before changing to required, for example if there was a critical vulnerability that needed to be addressed immediately. but starting as optional and transitioning to required should be expected for almost all updates

#

i don't think we have a recommended frequency honestly, but checking on a daily basis outside of business hours seems like it would be pretty safe to me

prisma pollen
#

So there is no current way to avoid automatic updates? This has a negative impact on our product each time that it happens and it is so out of our control that we cannot even handle them properly and end up losing business. What do you guys recommend on these situations?

rich pivot
#

So there is no current way to avoid automatic updates?
under the regular course of updates there should be plenty of time to schedule the updates when you want them - as i mentioned the expected time is ~3 weeks, and you can check the requiredAt property to know exactly when the update will become required (see reference)

#

i just don't want to say that we will never skip the optional step - i'm not aware of a case where that's happened, but it is technically possible

past scaffoldBOT