user1788448
user1788448

Reputation: 89

IOS InAppPurchase content download from my own server

I am developing an application. In this application new user will get access to download three images from my own PHP server. After downloading 2 images he then needs to purchase subscription for (1-Year) via an in-app-purchase. Then user will be able to download all available images from the server.

After completion of 1 Year subscription the user will need to renew his subscription, otherwise all downloaded content should be deleted from his device.

How can I approach this requirement using InAppPurchase? Which type of InAppPurchase do I have to implement (Consumable, Non consumable or Subscriptions)?

Upvotes: 0

Views: 51

Answers (1)

Brad Brighton
Brad Brighton

Reputation: 2184

  • If you want the user to auto-renew, use an Auto-renewing Subscription.
  • If you want the user to manually renew, use a non-renewing Subscription.

The use cases for both of these are covered pretty clearly in Apple's documentation: "Getting Started with In-App Purchases on iOS and OS X" ( https://developer.apple.com/in-app-purchase/In-App-Purchase-Guidelines.pdf )

The user experience for each of these is different and you'll need to take that into consideration in addition to the coding complexity when you choose which path to take.

There is no one "right" answer, only the one that's right for your intent and audience.

Upvotes: 1

Related Questions