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.
Asked
Active
Viewed 1,303 times
1
-
1Device Check probably doesn't do what you want; It doesn't give you an unchanging identifier. It allows you to associate 2 bits of information with a device. – Paulw11 Jan 16 '19 at 09:26
-
create custom id and store it in keychain and if user reinstall app you can check keychain for id – canister_exister Jan 16 '19 at 18:23
-
Device check Api -> https://stackoverflow.com/a/44649908/1264893 – iluvatar_GR Nov 07 '19 at 11:15
1 Answers
1
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).

Zaphod
- 6,758
- 3
- 40
- 60
-
K thanks. But can u elaborate how to do that Ruby part from Xcode ? – Fazlin Nouzil Jan 16 '19 at 09:43
-
I'm afraid you can't, the Ruby part is server side... You need to have both app and server codes to use DeviceCheck. – Zaphod Jan 16 '19 at 10:16
-
Cool! As you seem new on stackOverflow, don't hesitate to accept my answer. – Zaphod Jan 21 '19 at 07:57