Search code examples
iosapple-id

Apple API to check if an iOS application is purchased by certain Apple ID


Does anyone know if there is an API or some kind of service that will allow you to check if certain iOS application is purchased by certain Apple ID?

Here is the thing. I have an iOS application which uses some services. App is available as free and paid (paid allows you some extra features). But the trick is I can't know if an app is actually purchased or it's on jailbroken device.

Al those checks on an iOS app are not to be trusted since client can not be trusted, so I would like to make that check server side.

So my idea was to check if that app is purchased by given Apple ID to make sure that it's legit.

Is there a way to do this?

Thanks, Ante.


Solution

  • There is a great WWDC session on this. It talks about receipts from the app store: Session 308 from 2013 "Using receipts to protect your digital sales". This is interesting also if you do not have in-app purchases.

    https://developer.apple.com/videos/play/wwdc2013/308/