-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle restore process for Auto-Renewable Subscription #253
Comments
There is no concept of restoring a subscription. The only time you would call Afterwards, if you want to check if the subscription is still valid or not, you can just verify the subscription as outlined here: https://github.com/bizz84/SwiftyStoreKit#verify-subscription |
I am afraid that Apple will reject my app for missing restore button since mine was subscription based app. Everything is working at server-side for content delivering. So, for the restore state, I will do |
@htarwara6245 I believe you're correct. There's a bit of clarifying information here as well: #207 You can hook the restore button up to the I agree this could be clarified in the README a bit since there's not a clear enough distinction between subscriptions and one-time purchases for restoring (and my app has both). |
Seems there's more information here as well: #194 It appears you need to enumerate over your product identifiers and call Could you clarify this @bizz84? The rest of the API is very clear (great work overall) |
I've included some sample code here for how I'm doing this: #194 (comment) |
@iwasrobbed thanks for your help, I will take a look into. Also in a mean while, looking for any good suggestions. |
@iwasrobbed That's correct, calling To check subscription validity, use I will update the README accordingly. |
@htarwara6245 Mind leaving this issue open until the readme is updated? |
Platform
In app purchase type
Environment
Version
ℹ Latest Version
Any Help, I still can't figure it out how to handle restore process for this? After verify, it got the receipt that it was .purchased or .expired right? then how can we finishTransaction without calling purchaseProduct?
The text was updated successfully, but these errors were encountered: