You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand the difference between the "SwiftyStoreKit.refreshReceipt" and "SwiftyStoreKit.restorePurchases" calls, as in result to the receipt in the bundle.
"SwiftyStoreKit.restorePurchases" is also updating the receipt in the bundle ?
Thank you
The text was updated successfully, but these errors were encountered:
ioanalexme
changed the title
Difference between refreshReceipt and verifyReceipt
Difference between refreshReceipt and restorePurchases
May 12, 2017
In most cases, all your app needs to do is refresh its receipt and deliver the products in its receipt. The refreshed receipt contains a record of the user’s purchases in this app, on this device or any other device.
This is what happens when you call refreshReceipt().
Restoring completed transactions creates a new transaction for every completed transaction the user made, essentially replaying history for your transaction queue observer.
This is what happens when you call restorePurchases().
As SwiftyStoreKit doesn't (yet) support local receipt validation, the only way to read the receipt is to call refreshReceipt(), which always updates the receipt in the bundle.
Hello,
I'm trying to understand the difference between the "SwiftyStoreKit.refreshReceipt" and "SwiftyStoreKit.restorePurchases" calls, as in result to the receipt in the bundle.
"SwiftyStoreKit.restorePurchases" is also updating the receipt in the bundle ?
Thank you
The text was updated successfully, but these errors were encountered: