vincent [7:39 AM]
The app still doesn't seem to check the store status when it comes into focus.
vincent [7:40 AM]
I had it open from last night, and when I just switched to it this am, it acted like we were still open from last night.
jose.torres [7:54 AM]
Thats because when the app is in back the task stop working so when the app comes again it waits 60 seconds to get all the new information again
vincent [8:02 AM]
It should do it right away.
vincent [8:02 AM]
Because you don't know what might have changed.
jose.torres [8:03 AM]
What i will do is to save the last menu date time, and compare it with the current day so if a user opens the app the next day like you, it will send it to the start screen to restart all the logic
jose.torres [8:04 AM]
I will request the data each 30 seconds
jose.torres [8:04 AM]
Or each time a new screen is open
vincent [8:05 AM]
I like the idea of comparing dates.
vincent [8:06 AM]
For the timezone that the phone is in?
vincent [7:39 AM] The app still doesn't seem to check the store status when it comes into focus.
vincent [7:40 AM] I had it open from last night, and when I just switched to it this am, it acted like we were still open from last night.
jose.torres [7:54 AM] Thats because when the app is in back the task stop working so when the app comes again it waits 60 seconds to get all the new information again
vincent [8:02 AM] It should do it right away.
vincent [8:02 AM] Because you don't know what might have changed.
jose.torres [8:03 AM] What i will do is to save the last menu date time, and compare it with the current day so if a user opens the app the next day like you, it will send it to the start screen to restart all the logic
jose.torres [8:04 AM] I will request the data each 30 seconds
jose.torres [8:04 AM] Or each time a new screen is open
vincent [8:05 AM] I like the idea of comparing dates.
vincent [8:06 AM] For the timezone that the phone is in?
jose.torres [8:07 AM] Yep