Timer elapses and doesn't restart:possible?


I want to implement free plan: 30 X every 2 weeks.
So when user reaches 30 I want to start a timer with the right number of seconds and text magics.
When timer elapses I make a button visible to update the user’s property to 1.

However, the timer restarts everytime the user comes to the screen so it can’t reach 2 weeks.
How would you tackle this?

I also thought to stamp when user reaches 30 to put current time as a date and update his property when this date Is before 2 weeks ago but it doesn’t work well + I want the user to see how much time remains to regenerate

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