Search code examples
iosiphoneswiftuniqueidentifierudid

Device Check Api - Unique ID


I cannot find anything on Device check Api in iOS over here. However, let me draw your attention to the fact that, I wanna use and pass Unique ID from my iPhone app to the server always with the pretty much the same ID even after reinstalling the App. Eventually, I got to know that, Device Check Api is well suited for this purpose for the simple reason of Access per-device, per-developer. But I'm bit confused how to use it properly and can anyone help me with the proper and clear-cut guidelines including both front end and back end parts. It would be great if you help me with it. The Apple documentation link is provided here below for the reference, https://developer.apple.com/documentation/devicecheck.


Solution

  • Have you checked this? https://fluffy.es/devicecheck-tutorial/

    It explains the whole thing and gives an example.

    Edit: But as suggested by @Paulw11 DeviceCheck does not provide a Unique ID, it only gives you access to 2 bits of information (2 booleans really) by device by developper (not by app).