I've looked all over and found nothing about this topic - For people making mobile app games a开发者_运维问答nd want to sell levels or potions or whatnot from within the app, is this supported on Flex mobile apps? Are there plans to introduce it? I've found info about advertisement implementation... is this a possible next step? Do you have to use something like PayPal instead of Android Market?
Sorry if this has been asked, but I haven't found anything yet.
Thanks!
I know Adobe said at GDC Conference they are in the process of analyzing requirements to make in-app purchases available via Flash Player API. It's almost a year so far since that announcement but there has not been any further news. The work around/the way most client-server implement these business rule is on the server-side where they implement an entitlements model.
Yes, there are several native extensions that implement this functionality.
I have been using the ones from Milkman Games with good results, and the support is fantastic. No financial association, just a very satisfied user.
There is also a free iOS Storekit ANE as well, although in my experience with it there are still some bugs, notably with blank receipt values for restored transactions: http://code.google.com/p/in-app-purchase-air-ios/
Note: implementing your own entitlements is ill-advised for various reasons:
- Apple doesn't allow using anything other than their own in-app purchase API on iOS.
- The various store implementations (well, Apple's and Amazon's at least, Google Play is another story) handle all of the details of international purchases and localized pricing for you.
- The store implementations handle payments, subscriptions, durable purchases, and a host of other details that you will spend a lot of time getting right on your own.
精彩评论