Closed asyncios closed 8 years ago
You will obtain the same device ID.
How about put on UICKeyChainStore synchronizable false, it will fixes this?
The uuidsOfUserDevices
method needs a synchronizable keychain, so I think that the only one solution would be to store uuidForDevice
and uuidsOfUserDevices
on two different keychain instances (the first one not synchronizable and the second one synchronizable).
UPDATE: by default keychain items are not synchronizable, so you will not obtain the same device ID. I'm going to release 1.2.0 version where:
uuidForDevice
(not synchronizable)uuidsOfUserDevices
(synchronizable)I just released 1.2.0 version.
What Happens if iCloud is Sync Keychain and try to get device ID on 2 devices with same iCloud account.