freshplanet / ANE-DeviceId

Provides access to the device unique id.
Apache License 2.0
51 stars 25 forks source link

All Ios device have same getId result #12

Closed thanz closed 9 years ago

thanz commented 9 years ago

Hi freshplanet, I found that all Ios device have same getId() result (i try ios 7- 8 - and all ios device) "33b5a91a5eb81a1b0fdab2eb020f00709520e86d6ff6d0d2fcf84ed2e178bdfc"

Code:

var mySalt:String = "something"; // < my real salt is other string, it is just example var airDeviceId:AirDeviceId = AirDeviceId.getInstance(); airDeviceId.getID(mySalt,callBackGetDeviceID);

private function callBackGetDeviceID(value:String):void { id = value; }

Did i use it wrong ? Sorry for my bad english.

arnaudjbernard commented 9 years ago

yes you are suppose to use idfv and idfa on ios 6+, apple started to return invalid mac adresses to prevent identifying the device like we were doing with getId

Pjota commented 9 years ago

Now, what is the best method for a standard identifier for single device?

thanz commented 9 years ago

thank for your answer @arnaudjbernard i'll try it.