How to Discover Your AIR Runtime Version

This morning, someone asked me how to figure out what version of the SDK and/or AIR runtime you’re using. Rather than just respond to the email, I figured I would blog it for everyone to see.

Here are two easy ways to see the AIR runtime version you’re using:

  1. Check the "AIR SDK Readme.txt" file in your SDK directory (the version is at the top).
  2. Trace out NativeApplication.nativeApplication.runtimeVersion.

Remember that you don’t want to check the runtime version to see if certain capabilities, features, or APIs exist — rather, you want to use an individual feature’s’ "isSupported" flag. But for debugging purposes, knowing your runtime version programmatically can sometimes be useful.

2 Responses to How to Discover Your AIR Runtime Version

  1. Pingback: How to Discover Your AIR Runtime Version

  2. There’s an app for that… Hmm… I think I’ve heard that before 😉

    Check out http://knomedia.com/blog/2009/12/10/adobe-air-version-checker/