fabiocaccamo / FCUUID

:iphone: :id:  iOS UUID / Universally Unique Identifiers library as alternative to UDID and identifierForVendor.
MIT License
1.61k stars 226 forks source link

Same ID ,two devices #20

Closed zero1222 closed 4 years ago

zero1222 commented 5 years ago

Why is the ID generated by the two devices the same?

fabiocaccamo commented 5 years ago

@zero1222 the two devices are of the same user?

rojo69 commented 5 years ago

Had a fast look at the code. Can it be that one backup has been restored to multiple devices and the NSUserDefaults value got written to all keychains?

fabiocaccamo commented 5 years ago

@rojo69 exactly, this could be the only one reason.

rojo69 commented 5 years ago

Have you considered moving the storage from NSUserDefaults to a file with the property NSURLIsExcludedFromBackupKey set?

15 jan. 2019 kl. 13:40 skrev Fabio Caccamo notifications@github.com:

@rojo69 exactly, this could benthe only one reason.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

fabiocaccamo commented 5 years ago

@rojo69 it could be a solution, but it would be dangerous to backward compatibility. I'm not actively working on iOS right now, feel free to submit a PR.