LilMoke
LilMoke

Reputation: 3444

InApp Purchase Clarification

I have an app and I want to know if I have to use InApp purchase to have add-ons for the app? I have different characters that I want my users to be able to download, some are free and some are pay. So here are my questions:

1) I could not see any way to offer something using InApp purchase for free, so I am assuming I need to use InApp for Pay characters and do it myself for free characters. Is that correct?

2) Since I am responsible for downloading my characters, is there an approved way of doing this, can I just use dataWithContentsFromURL?

Upvotes: 0

Views: 178

Answers (2)

Jack
Jack

Reputation: 133577

It mainly depends if you really need to download characters from an outside (your) server or you can just keep them in the final application.

You must provide a common way to download character and take care of using InApp purchase just for paid ones. When you are going to use the StoreKit you will have some methods to call which will result in callbacks called from the Apple transaction manager that will be able to notify if a purchase ended well or whatever.

Then it depends if you are going to make in-app purchases downloadable from a server or just unlockable:

  • for built-in content you will just enable it
  • for downloadable content you will receive a transaction receipt that will be sent to your server to check the validity of the transactions

Both models are described in detail here.

Upvotes: 0

Omar Abdelhafith
Omar Abdelhafith

Reputation: 21221

1) I could not see any way to offer something using InApp purchase for free, so I am assuming I need to use InApp for Pay characters and do it myself for free characters. Is that correct?

Yes

2) Either way I do it, am I responsible for downloading the content (characters) myself after the InApp Purchase verification, or free selection?

Yes, you will have to provide some download mechanism

3) If I am responsible for downloading my characters, is there an approved way of doing this? Is it just using dataWithContentsFromURL?

Yes, or you could use some helper classes such as http://allseeing-i.com/ASIHTTPRequest/ They have a good class for download stuff that has download resume functionality Such as http://allseeing-i.com/ASIHTTPRequest/How-to-use#using_a_download_cache

In all ways, you will have to provide server side api, and url for implementing the download process

Upvotes: 1

Related Questions