I was wondering how to make the timer to go on even if the app is closed. I'm not making any games out of this yet, I just want to grasp the concept, so there's no capx or anything.
What I need is a method to get timestamps from some server somewhere (probably the signalling server). The idea behind getting the server timestamps is to avoid confusion of let say people chatting from across the world with different timestamps on their computer or phone. From what I understand this is also the basis of preventing people from cheat in time-based-building game, like Clash of Clan, Travian or anything similar.
I need a method simple enough for non-coder to understand and accuracy what not is not necessary.