freshplanet / ANE-DeviceId

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

Issue with new libraries after 64-bit update #17

Open danhett opened 9 years ago

danhett commented 9 years ago

Hi

I've updated the ANE in order to get my app running on the new 64-bit architecture opened up via AIR SDK 16. When I run the app, this call now fails: AirDeviceId.getInstance().getID("");

with

[Fault] exception, information=ArgumentError: Error #1063: Argument count mismatch on com.freshplanet.ane::AirDeviceId/getID(). Expected 2, got 1.

I'm unable to see/add any other parameters, the call only accepts a single salt String as an argument.

Is this related to the update? Thanks.

LorenzGit commented 9 years ago

I am having the same issue

jsaade commented 9 years ago

the as3 function expects 2 arguments. I am not sure why it is not showing you that info public function getID( salt:String, callback:Function )