ylechelle / OpenUDID

[OpenUDID IS NOW DEPRECATED] Open source initiative for a universal and persistent UDID solution for iOS
OpenUDID.org
2.09k stars 435 forks source link

OpenUDID value changes on resetting the device #33

Closed zeroCoder1 closed 12 years ago

zeroCoder1 commented 12 years ago

I am testing OpenUDID just by printing it out on a label. I deleted the app and reinstalled it again. The number remained unchanged. But, when I reset the device to the factory settings, and then installed the app again, the number changed. is this faced

NSString * openUDID = [OpenUDID value];
NSLog(@"The value is %@",openUDID);

[idLabel setText:openUDID];

I tried uninstalling the app and running it again in the device, the OpenUDID value doesn't change. However, when you reset the device and run the same app again, the OpenUDID value changes, Am I doing something wrong? Or is this the way it should work.

Please advise.

ylechelle commented 12 years ago

Indeed, your use case makes sense. OpenUDID is not hardware based; so if you reset everything, then the id is recreated… if however you restore, then it will most likely be recovered

On 14-Jun-2012, at 12:37 AM, Zero1 wrote:

I am testing OpenUDID just by printing it out on a label. I deleted the app and reinstalled it again. The number remained unchanged. But, when I reset the device to the factory settings, and then installed the app again, the number changed. is this faced

NSString * openUDID = [OpenUDID value]; NSLog(@"The value is %@",openUDID);

[idLabel setText:openUDID];

I tried uninstalling the app and running it again in the device, the OpenUDID value doesn't change. However, when you reset the device and run the same app again, the OpenUDID value changes, Am I doing something wrong? Or is this the way it should work.

Please advise.


Reply to this email directly or view it on GitHub: https://github.com/ylechelle/OpenUDID/issues/33

zeroCoder1 commented 12 years ago

Thank you for the response. I tried doing that. I reset the device. I restored a backup and the oudid is the same... Thank you for this wonderful idea of using openudid.