I’m working on a digital series of interactive books for a client using the Adobe Air SDK. Recently the client decided they want the ability to add in-app purchasing to build a little library of books you’ve already purchased and books you’ve yet to. I’m aware these features exist natively and through others like phone gap and titanium but the books are already created and the timeframe won’t allow these options.
Is it possible or does anyone know how to hook into the in-app purchasing feature of iOS via Airs mobile SDK?
Thanks in advance!
You can use the new AIR 3.0 SDK (Available on Labs and will be releasing soon) from http://labs.adobe.com/downloads/air3.html which has a new feature called Native Extensions. Which allows you to jump to/from AS into obj-c/c code. Using this you can implement the storekit functionality in an onj-c static library and call this functionality from Actionscript.
I have written one sample for in-app purchases at http://code.google.com/p/in-app-purchase-air-ios/
The homepage includes links to ADC articles which explain how you can implement,use,package the native extensions.