cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avidan Chen (JIRA)" <>
Subject [jira] [Commented] (CB-49) UUID replacement
Date Sat, 09 Jun 2012 19:23:42 GMT


Avidan Chen commented on CB-49:

Excellent! I was hoping you'd approve of this solution. 

If you're changing the implementation anyway, why not move towards a more complete solution?
After all, the hashing of a value provided from JavaScript together with the MAC address seems
rather simple to implement (I'm saying this after looking at the code that hashes the MAC
address with the bundle identifier - the challenge for me, since I'm a .NET developer and
know nothing about Objective-C, is how to write a plugin for Cordova in iOS).

I agree that this is specific for iOS, but so does FileEntry.setMetadata and it's still in
the core functionality. Rather than using device.uuid for iOS, maybe you can create a function
like device.getHashedUUID(salt) which initially would be supported in iOS only, and later
could even be implemented in all of the platforms(using the same logic of hashing the provided
value with the MAC address)? After all, getting a secure, anonymous and most importantly a
consistent way to identify devices without compromising user's privacy seems to be important
enough to be supported by all platforms. 

Do you think it would be possible to implement something like this for Cordova 1.9?
> UUID replacement
> ----------------
>                 Key: CB-49
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: iOS 5
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>             Fix For: 1.6.0
> reported at:
> by:
> As you might have read iOS 5 will remove the UDID (
> This is an excellent alternative and it would be nice if you would implement something
along these lines to keep the functionality. The idea of hashing together with the bundle
id is great, because it makes it impossible to track across applications, which is what apple
wanted to fix (although it can be circumvented that would only anger them, and tracking across
apps isn't required for most apps anyway).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message