Hi Everyone. I have an app that needs to track not only the location of an user but also the time for doing certain action. The problem I’m having is that if I change the time of the phone then the app shows that time instead of the real one.
I’m trying to avoid the user to cheat in this way and obtain the real time based on its location, so for this I’ve read that I can obtain the timestamp when getting the location over the Geolocation plugin besides the position.
What I see is that if I change the device time, then when pulling the location of the user the timestamp received matches the one from the device and not from the user’s location - which doesn’t seem right.
This is happening on Android at the moment, will check it on ios and update this post based on my findings if this also happens there.
Is this a bug or its the actual way this works? Is there a possibility to avoid the user to cheat by changing the time of its device? Thanks a lot!