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

uuidForInstallation persists after reinstall #12

Closed mmahkamov closed 8 years ago

mmahkamov commented 8 years ago

Not sure if I'm getting it right but based on the persistence table, the uuidForInstallation is expected to be removed when the app is uninstalled. However, that's not the case (tested on iOS 9 and 10). Probably because of the following line:

_uuidForInstallation = [self _getOrCreateValueForKey:_uuidForInstallationKey defaultValue:nil userDefaults:YES keychain:YES service:nil accessGroup:nil synchronizable:NO];

I believe keychain argument should be NO here.

fabiocaccamo commented 8 years ago

You're right, sorry for the mistake. Now it's fixed with 1.3.1 version.

mmahkamov commented 8 years ago

Thanks for the fix!