Our GCM extension and tutorial have been available for a while now and people have requested a number of updates. Some items on the list include adding a sound flag, incorporating notification icons into the extension init, and more. Don’t worry, these are coming! For now, here is a new extension we created that will help fellow AIR developers improve their apps and games.
Until recently, our app “Sketch Guess” utilized Web View for logging people in with Facebook credentials. It works well and looks decent. However, it can be cumbersome to users who are accustomed to seamless entry into FB integrated apps and games when they are already logged into Facebook mobile. That’s where SSO comes in. It allows your app to automatically use the login token from the Facebook application if your app was authorized by the user.
While it is quite easy to implement in native Android apps, we were not able to find a ready-to-go dedicated solution on the web. Therefore we had to create our own extension.
It was written for Adobe Flex SDK 4.6 + AIR SDK 3.5. Although, I’m sure it will probably work with the earlier versions of AIR (but not too early). My weapon of choice in developing AIR apps is Intellij 10 to 12. Therefore, I won’t be providing exact procedures to link to “.ane” when you setup the project since that varies from environment to environment.
Note: Facebook requires SSO for apps in their App Center. In other words, you cannot be listed in their marketplace unless your application implements SSO.
Download the ANE and example here and let’s begin…