hello, i have a problem when verifyReceipt while the response from purchase_date is:
"purchase_date": "2020-06-09 06:44:46 Etc/GMT",
which means diffrent from my apps date, coz my apps date is GMT +7
thanks
hello, i have a problem when verifyReceipt while the response from purchase_date is:
which means diffrent from my apps date, coz my apps date is GMT +7
thanks
There are many ways of comparing dates.
You can use an NSDateFormatter to convert a string to an NSDate and then compare that to 'now' or use another NSDateFormatter to display that NSDate in your local time zone. Or, just err on the side of the user and give them an extra day.