A simple native extension to retrieve basic device information.
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);
- Changed structure of the iOS project
- Initialized
FREObject
variables toNULL
(iOS)
- Public release