I have an app that using in some health caring center. When user login to system for the first time, my app will generate a UUID
for current device. This UUID will be store it in SSKeychain
and insert into DB . Next time, when login app, UUID will be get from SSKeychain, and update the last time that user login to SSKeychain
info on DB.
Depends on UUID of devices, i can manage the number of devices that a center has. However, when device is reset, UUID
of device seems to be removed from SSKeychain
. So that, when user login again, my app will recreate a new UUID
. This UIID will be insert into DB, while the old UUID still be in DB. This leading the real number of device in every center is different with DB.
So, could you show me some ways that create a unique identifier for each device(iPad, iPhone)
that can be maintained even device is reset, restore or something else.
Thanks for advance.