Countdown running in the background (possible?)

I did a simple countdown, unfortunately it doesn’t work if the application is not open. Can it be changed?

2 Likes

You may find this helpful

1 Like

In our app starting screen you should check if the stored variable has any value and use that value before starting you Timer. This ensures that you read the last thing saved by the app before it was last closed.

In the other hand, you need to store the counter to the stored variable just before exiting the Fires event of the timer to ensure that the current countdown is stored.

If you follow this process then you will simulate a countdown that works even if the app is not running.

1 Like