Skip to content
Adobe AIR native extension to retrieve basic device information
C Java Objective-C ActionScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
actionscript/src/com/digitalstrawberry/ane/deviceutils
android
bin
build
ios
.gitignore
LICENSE
README.md

README.md

ANE-DeviceUtils

A simple native extension to retrieve basic device information.

Usage

Download the ANE from the bin directory or from the releases page and add it to your app's descriptor:

<extensions>
    <extensionID>com.digitalstrawberry.ane.deviceUtils</extensionID>
</extensions>

To retrieve an identifier for vendor (iOS) / ANDROID_ID (Android), call the idfv getter:

if(DeviceUtils.isSupported)
{
    trace(DeviceUtils.idfv);
}

You can also retrieve the device model, system name and version:

trace(DeviceUtils.model);
trace(DeviceUtils.systemName);
trace(DeviceUtils.systemVersion);

Changelog

August 23, 2017 (v1.0.2)

  • Changed structure of the iOS project

June 13, 2017 (v1.0.1)

  • Initialized FREObject variables to NULL (iOS)

April 27, 2017 (v1.0.0)

  • Public release
You can’t perform that action at this time.