Device ID¶
A unique device identifier is required to differentiate between installed apps during authentication process. On each platform (iOS, Android, Web), we aim to use the recommended approach for that platform.
- Web SDK doesn’t generate or store any device ID. Each session is anonymous by design.
- iOS SDK uses
identifierForVendor
as recommended by Apple. - Android SDK uses a hash generated by combining
Settings.Secure.ANDROID_ID
and current application package.
Device ID persistence characteristics are summarized in the table below:
Platform | While app is installed | Same device, different app | App uninstalled and re-installed | Owner changed device | Device factory reset |
---|---|---|---|---|---|
iOS | Persistent | New ID | New ID | New ID | New ID |
Android | Persistent | New ID | Persistent | New ID | Uncertain |
Warning: On Android, it is possible to root a device and tamper with the system’s ANDROID_ID
which may cause our SDK to malfunction (or worse, allow a different user to impersonate another existing user). We do not support rooted device cases as such and we recommend against rooted Android devices.
Note: Pointr does not store device identifiers for any purposes.
Short ID¶
In addition to Device ID, mobile SDKs also generate a Short ID, which is a 6 character hexadecimal id. This Short ID is generated for additional anonymity.