The Incognia SDK automatically generates and synchronizes unique device IDs with the Incognia backend. However, your application and backend systems might use your own User IDs. Passing your User ID to the Incognia SDK allows for easier integration and control, as your User ID will be readily available as an alias.
The Incognia SDK provides a User ID setter for passing this information when it is available in your app. This setting is persisted between sessions.
We highly recommend generating a User ID by means of hashing an internal value:
You can also clear a previous set User ID using the following method: