Hello sorry for the inconvenience, I’m trying instead of storing time in a Tinydb, is stored in my Firebase, the question is that here the logic does not fit.
I have these pictures already done, I do not know if it’s okay, I’m missing the last one how can I do it?
I am already using a scheme made with TinyDB as a guide, which is this, what is marked in red is what blocks me, I do not know how to do it with Firebase.
Thanks for the answer, but that’s not the problem, what I need is to convert the logic of the TinyDB into Firebase logic, I put a red box on the problem in the images.
Use @Deep_Host online time checker extension and store the current time in Firebase and when screen is initialized, compare the old time with the current time and check if the difference between them is greater than 24 hours.