lwmirkk / ANE-DeviceId

Provides access to the device unique id.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Air Native Extension to access a device unique id (iOS + Android)

This is an Air native extension that gives you access to a device unique id and an advertiser unique id. It has been developed by FreshPlanet.

Usage

Complete usage example is in the sample directory.

On android make sure to add this to your android manifest additions inside the application descriptor:

<application android:enabled="true">
    ...
    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
    ...
 </application>

Build script

Should you need to edit the extension source code and/or recompile it, you will find an ant build script (build.xml) in the build folder:

cd /path/to/the/ane/build
#edit the build.properties file to provide your machine-specific paths
ant

Notes:

  • included binary has been compiled for 64-bit iOS support

Reference

Authors

This ANE has been written by Arnaud Bernard and Mateo Kozomara. It belongs to FreshPlanet Inc. and is distributed under the Apache Licence, version 2.0.

Join the FreshPlanet team - GAME DEVELOPMENT in NYC

We are expanding our mobile engineering teams.

FreshPlanet is a NYC based mobile game development firm and we are looking for senior engineers to lead the development initiatives for one or more of our games/apps. We work in small teams (6-9) who have total product control. These teams consist of mobile engineers, UI/UX designers and product experts.

Please contact Tom Cassidy (tcassidy@freshplanet.com) or apply at http://freshplanet.com/jobs/

About

Provides access to the device unique id.

License:Apache License 2.0


Languages

Language:Objective-C 39.8%Language:C 31.4%Language:Java 20.6%Language:ActionScript 7.9%Language:Ruby 0.4%