Hello, I have a markdown editor app, the model is in-app purchases, User download it for free, and it have a 14-days trails for free (0 tier). a PRO 5$ unlock all the features. And it is not a subscribe model app.
In 14-days trails, user could use all the features too, after the 14-days trails, if user do not buy the PRO, it return to the view mode.
Example, user buy the 14-days trails in Oct 12, in Oct 15, user could use all features, how to get the purchase date, and validate the current date , if less than 14, user could still use all feature, and after 14 days, It return to view mode.
I find some document that build a server connect to App Store server may validate the receipt, but I see the StoreKit 2 documents says it could validate in local, my small project maybe use local validate is more simple.
How to check the user’s device date in or out of trails?
Thanks for any advice.