Does anybody know this?

Does anybody know a way to keep a timer or countdown going when user closes the app?

1 Like

Does it really stop when you close the app??.. interesting. :nerd_face:

Hey @LoneWolf

Trying to help out here…

I noticed @Victor has some experience with the timer.

Maybe he knows about keeping the timer going.

I tested it, and it stopped. Maybe it does not stop if your app is published?!?

That doesn’t make sense because you can choose hours, and I doubt they designed it that way… to keep the app open for hours… I’ll keep testing.

Hi @LoneWolf @C3PO ,

Countdown timer runs in the app context. I.e. if the app is running → timer is running; if the app is closed → there is no timer.

So there are 2 possible workarounds for this:

  • The first one can exploit the fact that countdown timer requires a number of seconds as a parameter. This means that if we can calculate the remaining number of seconds after we relaunch the app, we still can display timer with the correct countdown value. A couple of videos I’ve made long time ago use this principle:
    https://youtu.be/XwltFUfBsLk
    https://youtu.be/VEXxzOHEsQQ
  • However, if we need to execute some action(s) when the countdown finishes, at the time it finishes, we can’t rely on the timer running in the app. Remember, if the app is closed → there is no timer. So some backend 3rd party solution is needed for this - e.g. Make, Zapier, etc etc etc.

Best,
Victor.

2 Likes

Awesome. I saw your other Make video… I will search to see if you have others.

Do you plan on making more Make tutorials?
or can you recommend any for beginners?

(Aside from Patricks)

Thanks again for the good explanation @Victor
I hope that makes sense @LoneWolf

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.