I have implemented consumable InApp Purchase in my iOS App. User will have to pay to see a content and it will expire in 24 hours.
Once user makes a payment, I will send a current date
& expiration date
to my server. Now, my server will return purchase date
when I will fetch content list for particular logged in user. For example, If user Patrick logs into the App, he will able to see list of content. In that web service, I will also get the expiration date for that user and based on that time, I will show expiration time. If expiration time has passed, it will show BUY button in every content list cell.
The big concerned for my App is user changes his current date from device. If User periodically changes his/her current date and never gives his/her device chance to reach to the expiration date
and s/he will get access to the content forever.
What is the best possible solution to overcome this situation ? This is the point where I have been stuck.