When i reset the android phone it mess up the count down
I start the app on android phone I can see that there is about 5 sec left to energy/key to be add I close the app and restart the phone i start the app again I see that now there is 60 mints left (max time is set to 10 secs)
Any ideas on how to fix it?
Hey @dor1987 !
Thank you for the question. What you describe it an actual one use case when the solution does not work, I have not found the way of saving the time between user phone restarts for now.
The main problem that for calculating system independent time, I'm using ticks from CPU, and each time user opens the app. I'm comparing the ticks from exit time and current value and not the actual system time, when the user restarts the phone CPU ticks are gone and count reset to 0. That's why on the next opening of the app you see wrong time.
Thank you again for the question and I'll add it to my todo list of enhancements of the plugin when I come back to it to update.
Hi @mlnv ty for the response. Do you have an idea on how to fix it? Maybe i'll patch it up myself if you will give me a general direction..