I am looking to reward daily users with a gem in my app.
I am using the DateTime function to determine the daily login criteria for issuing the reward.
Does this function read the device system date or the network time (from the cell provider). I am mainly concerned about someone manipulating the device date to get false rewards, although I think it is unlikely that someone would go through the trouble if the time/date reset was a hassle to change.
I think DateTime reads device date and time whether it was gotten from network or set manually .
If your users have online accounts , you might want to store daily login time on your server .