4 March 2015
With the release of Gaming SDK couple of years back, Adobe has provided a strong platform for game developers for developing high-quality applications. All vital resources like open source frameworks, iOS native extensions(ANEs), Away Builder workflow tool, ATF tools were bundled into a single, easy-to-use package.
Now, with Apple mandating the submission of only 64-bit binaries to its AppStore, Adobe has gone ahead and not only added universal 64-bit support in the latest AIR SDK but has also updated all the Gaming SDK ANEs to support 64-bit packaging. These new ANEs should help game developers in adhering to the proposed application submission guidelines from Apple.
The details of all the ANEs shipped with Gaming SDK are as follows:
Game Center is a social gaming service which allows players to share information about the games they are playing and to join other players in multiplayer matches. Using Game Center native extension, an AIR based application would be able to perform Game Center related operations like authenticating a player, submitting and retrieving scores, reporting and resetting achievements, connecting and starting multiplayer matches, among others.
Detailed information about the API set supported by Game Center native extension can be found here.
With most of the applications created nowadays based on the freemium model of revenue generation, developers need a mechanism to deliver premium content, subscriptions and virtual goods to their application users. Product Store native extension provides all these capabilities by using Apple’s Storekit framework to support in-app purchases within any AIR based iOS application. It provides end-to-end transaction functionalities to the developers like product registration, catalogue management, purchases, and content delivery to their users.
Detailed information about the Product Store APIs available to the developers is available here.
Developers across the world are increasingly adopting advertisements within their applications for both revenue generation as well as cross promotion of other applications. Stage Ad native extension addresses this requirement by utilizing the capabilities of Apple’s iAds platform to display the advertisements inside applications. A developer can opt for displaying either full screen or banner ads within his application while the ads are delivered from the iAds network. The Stage Ad API set ensures that the developer can handle various stages of advertisement loading including any errors received during the process.
Information about the Stage Ad API’s and their usage can be found here.
Today, developers want to effectively utilize the reach of social networks to enhance the application usage experience of their users. Social native extension helps them achieve that by helping the developers to incorporate major social networks like Facebook, Twitter and SinaWeibo within their application. It helps them achieve various social networking related tasks like status posts, image upload, url addition through native UIs of these social networks.
Detailed information about the usage of this native extension is available here.
To access all the resources of the ANEs mentioned earlier, download the ANE_Resources.zip file attached with this article. The .zip file contains the following folders within each of the ANE directories:
If you want to make changes in the sources of any of the ANEs and package it yourself, you would need to follow these steps:
<AIR_SDK>/bin/adt -package -target ane <ANE_Name>.ane extension.xml -swc <AS3_LibraryName>.swc -platform iPhone-ARM -platformoptions platformoptions.xml -C iPhone-ARM/ library.swf <iOSLibrary>.a
<AIR_SDK>/bin/adt -package -target ane stageAd.ane extension.xml -swc stageAd.swc -platform iPhone-ARM -platformoptions platformoptions.xml -C iPhone-ARM/ library.swf libstageAd.a
Once done, you would have successfully packaged the stageAd.ane file, which you could use in any of your AIR based iOS mobile project.