Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS App Purchase Date

I'm trying a new market strategy so I'm gonna put my 0,79€ App now for free, with an in-App purchase that unlock ALL the contents. I also do not want to betray the users which already has bought it, so I thought to implement a check where who already have bought the App, don't need to purchase the in-App payment to unlock all.

My problem is... can I check when the App has been purchased? Or maybe there is a simple way?

like image 665
Alberto Schiariti Avatar asked Jun 11 '12 15:06

Alberto Schiariti


People also ask

When did the App Store hit 25 billion?

CUPERTINO, California—March 5, 2012—Apple® today announced that more than 25 billion apps have been downloaded from its revolutionary App Store™ by the users of the more than 315 million iPhone®, iPad® and iPod touch® devices worldwide. The 25 billionth app downloaded, Where's My Water?

How far back does App Store purchase history go?

Answer: A: Good question: {Settings> Apple ID> iTunes & App Store> Apple ID:... (At top)>View Apple ID>Purchase history>Last 90 Days} and it will allow you to select from any year.


2 Answers

You can't do this with any certainty, since there is no way to check if the user bought the app because there is no way to ask the OS about the install/purchase date.

As suggested, you could save it in the NSUserDefaults, but if the user deletes the app, this information is lost.

One could save it in the keychain, which is not cleared if you delete the app, but the problem is still there, because if the iOS device gets restored, these settings could be lost.

like image 155
rckoenes Avatar answered Sep 24 '22 17:09

rckoenes


just to update this, it IS possible. Take a look at the answer to this question -- one of the fields in the receipt is "original purchase date"

A complete solution to LOCALLY validate an in-app receipts and bundle receipts on iOS 7

like image 29
software evolved Avatar answered Sep 23 '22 17:09

software evolved