So we’ve got another project to add IAP support to tonight, and in line with the programmer’s natural desire to avoid work we’re checking out what news there might be on the open source IAP front since the 2.0 version of MKStoreKit we used a while back. And yes, there is a new playa in town:
… However, there are a number of features missing that I wanted, and with no official source code repository for MKStoreKit I decided to kick off my own implementation: AnystoneStoreKit
Having read all of the background from Noel and Apple’s StoreKit documentation the decision was made to build a toolkit that met the following high level requirements:
- Should not require changing toolkit source code to use it
- Support for Consumable and Nonconsumable products (and eventually Auto-Renewable subscriptions)
- Support for multiple product identifiers with the ability to link product ids against the same family (ie:buy 1 berry or 10 berries, they are still berries)
- Detailed delegate methods to enable a great in-app store experience for the user
- Lazy loading of the StoreKit data from iTunes
- Ability to wipe the local data clean for an in app purchase so it can be restored or re-downloaded
That’s a nice list of features yes, and there’s some more interesting stuff planned; check out the 0.4 release notes on github.
However, MKStoreKit has been coming along too: there’s a github repository now, and it’s up to 3.5 with these recent release notes:
What’s new in Version 3.5
Support for Auto renewable subscriptions – MKStoreKit can automatically verify your subscriptions without requiring user to enter password
Bug fix in consumable module
What’s new in Version 3
Support for Server Product Model – MKStoreKit can automatically post the receipt data to your server and “remember” the purchases only when your server returns. The server code for the same in PHP is also available within MKStoreKit.
Well, given as how auto-renewable support is a requirement for us tonight, and server side verification is a probable near term request too, looks like MKStoreKit comes out as the winner and still champion here; we’ll go drop that in and update if we encounter anything worth mentioning. But if you think that Anystone looks like a better fit for your requirements, check it out and let us know how it worked for you!
A new open source option — mattt / CargoBay!
And robotmedia / RMStore!
(Don’t forget the Beeblex IAP validation service!)Continue Reading →