utils/purchase_token_utils library
Functions
-
getOneTimePurchaseToken(
PurchaseDetails purchase) → String - Returns the token for a ONE-TIME purchase (consumable or non-consumable) to be used with VerifyLocalPurchase.verifyPurchase.
-
getSubscriptionToken(
PurchaseDetails purchase) → String - Returns the token for a SUBSCRIPTION to be used with VerifyLocalPurchase.verifySubscription.