AppReceiptValidator
AppReceiptValidator copied to clipboard
Eligible for free trial?
Hello,
I have been using this library for years now. Thank you! Is there a way to know if the user is eligible for free trial?
Best,
You can do this by checking if there are any transactions (check through the Receipt's inAppPurchaseReceipts array) relating to the subscription (or subscription group). If there are none, the user is still eligible for a free trial ("introductory pricing") but once there is a such a transaction the user is no longer eligible. Similar to what is described here.