Skip to content
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

Using SwiftyStoreKit to verify if user has purchased a previous version of app #63

Closed
tomshanks opened this issue Aug 7, 2016 · 2 comments
Labels
answered Questions which have accepted answers. type: question

Comments

@tomshanks
Copy link

tomshanks commented Aug 7, 2016

Hi guys,

I've got a paid app that I want to make free with in-app purchases. I don't want my users that have already purchased my app to pay for the in app purchase. I had a quick look over your code and I feel I can use it to check the user's receipt to determine if they purchased the app before I changed it from paid to free. I just wondered what you guys thought about this implementation? I'm thinking retrieve the user's receipt then check their original purchase date and original purchased version then lock or unlock all features dependant on the result.

@bizz84
Copy link
Owner

bizz84 commented Aug 8, 2016

Interesting question. While I have not tested this, I guess that if the receipt contains the original purchase date you could check it against the date of your price change and unlock the content accordingly. This logic seems a bit brittle though as if you then decide to make the app paid again, you no longer have only one date to compare against. Your call.

@bizz84 bizz84 added type: question answered Questions which have accepted answers. labels Oct 19, 2016
@bizz84
Copy link
Owner

bizz84 commented Feb 20, 2017

Strictly, I feel that this is not an issue with SwiftyStoreKit itself.

Closing this due to inactivity.

@bizz84 bizz84 closed this as completed Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered Questions which have accepted answers. type: question
Projects
None yet
Development

No branches or pull requests

2 participants