Unique ID for mobile device FMX


What is a good way to create a unique ID for mobile devices (iOS and Android) in a C++Builder FMX app?

In my case, I just want to let my app users vote, but only once per device (even if they delete the app and reinstall it). They stay anonymous, but just can’t vote more than once.

I know Apple came out with DeviceCheck for Swift, but I don’t know how to use it in C++.

iOS 11: The DeviceCheck API

DeviceCheck API – Unique Identifier for the iOS Devices

Comments are closed.