-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenUDID is not unique across devices #17
Comments
This scenario is indeed possible. Here, this calls for a signature that uses the MAC address to sign and compare with former, and regenerate the OUDID in that case. Makes sense? |
+1 for this approach |
+1, just make sure former OUDID generated with past versions remains the same. |
+1, and I'm curious when this change is going to be made, because nothing's been done with it for a few days and this seems pretty important |
@Gavtron Feel free to suggest the code for it with a pull request. Otherwise, I should be able to address this by the end of the week... |
There is already a nice solution, based on the MAC address by itself or in combination with the bundle ID at: https://github.com/gekitz/UIDevice-with-UniqueIdentifier-for-iOS-5 |
Chris, Sorry but these last two only suggest a non persistent and non shareable UUID (user unique id)... which is fine for certain in-app needs, but not at all a replacement for the former persistent and shareable UDID (unique device id). As for any scheme based on the MAC address and/or bundle-id, it's either too sensitive (see many discussions elsewhere on this topic) or not universal enough. This issue #17 is ONLY about corner cases where OpenUDID is in fact duplicate because of the persistence across restores on different "active devices". I will close this topic since there is consensus on how to solve this. |
Suppose that a user has your application installed on device A. The user then buys a new device, device B. The user creates a backup of device A using iTunes and then restores it onto device B.
When the user launches your application on device B, it will report the same udid as device A because this information is read from NSUserDefaults (which was copied from device A to B during the backup/restore).
The text was updated successfully, but these errors were encountered: