0

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.

Ante Braovic
  • 457
  • 4
  • 13
  • 1
    I hope not. There are far more ways to abuse such a feature than there are benefits. (Also, a jailbroken device and a purchased app are not mutually exclusive.) – Phillip Mills Apr 27 '16 at 13:28
  • @PhillipMills agree on both of that. But still, I can never be sure if an app is legally purchased or illegally installed on jailbroken device :/ – Ante Braovic Apr 27 '16 at 13:40

1 Answers1

4

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/

Joride
  • 3,722
  • 18
  • 22
  • 1
    Particularly, the bit on server-to-server validation: https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html – Craig Otis Apr 27 '16 at 13:51
  • According to this, I will be able to check if receipt is valid which I suppose should be sufficient enough to run this, since it is the only way of doing this. I'll mark this answer as correct. Thanks Joride and also @CraigOtis – Ante Braovic Apr 30 '16 at 09:06