Answer the question
In order to leave comments, you need to log in
How to implement similar functionality?
There is some abstract application (web, mobile application).
After authentication, the user starts a timer. Only one timer can be active. The time range when the timer starts is known. If the user switches to another application (for example, mobile), he should get into his session.
So far, from ideas: when starting the timer, put a timestamp (startTimer) and a sign (taskComplete) in the database, and check it at startup.
PHP backend using RESTful API.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question