freshplanet / ane-deviceid Goto Github PK
View Code? Open in Web Editor NEWProvides access to the device unique id.
License: Apache License 2.0
Provides access to the device unique id.
License: Apache License 2.0
Google is going to be enforcing the use of the Advertising ID & forbidding the use of the deviceId starting on August 1st 2014.
Could the advertising id be added to the ANE?
I updated Flash builder with the new Air 16 build 272 which includes 64 bit support, and then updated the ane with your latest build from this month (January).
I then enabled the ane in a new mobile project and the the app crashes on launch, before attaching to the flash builder debugger.
If i disable the native extension in build packaging for IOS it works fine.
I get no error messages or anything, the app simply crashes silently when the ane is enabled.
Extension works on iOS, but on Android on air 17 I'm getting an exception that context is null. On the other hand on air 18 it won't even compile yelling that there's a parse exception around this library.
Trying to compile apk file for Android and got an error:
aapt tool failed:ERROR: input directory '--auto-add-overlay' does not exist
All I did just add this code into descriptor:
<extensions>
<extensionID>com.freshplanet.ane.AirDeviceId</extensionID>
</extensions>
Adobe AIR 17
This is not an issue with the code per se, but it would be great if addressed. Might save hours to users of this extension.
Since a couple of months Apple started blocking apps that use the advertisingIdentifier selector without serving ads. The extension in its current form provides the getIDFA method, which even if not used, will get the app rejected.
Removing the method and its implementation will solve the problem, but it would be great if this is specified in the Readme loud and clear.
It seems that the getID() method was quietly removed a year ago, with no explanation and no change in the documentation. The sample doesn't even work anymore!
We were using the getID() method to get android ID 's. Now it seems to me like using getIDFV() on an android device will still allow you to get the android ID, but it sure isn't mentioned anywhere in your documentation or sample.
We were also using a salt with the getID() method - something we can't do with the getIDFV() method anymore. So thousands of android users will now have to re-register their devices and lose their old data if we update to this new version.
Please add the getID() method back, or at least add a way to use a salt with the getIDFV() method the same way we were doing so with getID().
The current state of the issue tracker has me worried but I hope that you see this and at least respond and let us know what we are supposed to be doing for android devices with the current version of the ANE.
I can't compile, getting this error:
Undefined symbols for architecture armv7:
"OBJC_CLASS$_ASIdentifierManager", referenced from:
objc-class-ref in libcom.freshplanet.ane.AirDeviceId.a(AirDeviceId.o)
ld: symbol(s) not found for architecture armv7
Compilation failed while executing : ld64
AIR 32 is kind of mandatory right now if you want to publish to stores and it doesn't seem to be compatible with the current AirDeviceId.ane. It needs to be updated, if possible.
Thanks!
Hi,
Thanks for your ANE,
Could you make a new build with last namespace 15? Actually i have an error and i don't know how to make a new build.
Vincent
Hello, I am getting this error when I try to use this ane. I am adding the ane to the project and also the src folder of the raw actionscript code (btw I am building a starling app in intellij IDEA).
I tried both of these:
var airDeviceId:AirDeviceId = AirDeviceId.getInstance();
and
var airDeviceId:AirDeviceId = new AirDeviceId();
Both give the "could not be found" error.
Without bashing you too much, I would just like to bring it to everyone's attention that the (lack of) documentation or mention of the api at all makes this ANE extremely laughable and juvenile. Sadly though you are blocking the space now for someone to make an ANE that is actually useful.
I try "rebuilt bin with air 17 release" version.
I test by airsdk17, airsdk15, airsdk3.9
17, 15 error "[AirDeviceId] Error - Extension Context is null."
3.9 error "Invalid namespace http://ns.adobe.com/air/extension/15.0"
plz
I get that error when i include the ANE in my project.
I tried grabbing the extension-context manually also like this.
var _extCtx:ExtensionContext = ExtensionContext.createExtensionContext( 'com.freshplanet.ane.AirDeviceId', null );
But it returns null.
I am using Air 14 and Flash builder 4.6
The extensionID IS present in my app.xml.
AFAIK the configuration should be correct.
as you know on ios 6+, apple started to return invalid mac adresses to prevent identifying the device
now this is my question is this method is good way to identifying devices on ios 6+?
Is SO shitty...
lmao.
XD
XD
XD
XD
XD
XD
XD
XD
XD
XD
Your fake grass is stupid, and song pop is a gay game (as in not fun).
Hey folks
I've updated the ANE and now see the following error when compiling my project:
File error processing catalog.xml in /path/to/my/project/ane/AirDeviceId.ane(error in opening zip file).
Any idea what would be causing this? My assumption was that we were on an old SDK version or something, but upgrading to 17.0+ still causes this. I made no code changes from the old version of the ANE, last time I updated was when the 64-bit change was implemented and I've not touched it until today.
Any input or thoughts appreciated, cheers!
Getting an error about universal libraries being required with AIR 16 beta. I would assume that this is related to the new 64 bit support.
Hi,
Would need a republished version for AIR 19 and 20... thanks for the support.
Hi,
Could you please provide ANE-DeviceId with Android 64-bit support?
Thanks & Regards,
M.Prabhu
how to get android registration id !
Please rebuild with Air 18 SDK.
It gives error with Air 17.
dx tool fail:
UNEXPECTED TOP-LEVEL EXCEPTION:
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.
Hello:
How use by adobe flash or adobe Animate?
Can you write step by step instructions?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.