Despia uses Apple’s IDFV for device indexing, which resets when all apps from the same developer are uninstalled. Persistent identity across installs is coming soon through Despia’s new Identity Vault and requires integration with Despia’s ATT Manager for Apple compliance.
AI Prompt
Access the unique device identifier of native mobile devices in your application using the Despia SDK from: https://www.npmjs.com/package/despia-nativeFirst, install the package: Please follow the installation instructions for the “despia-native” npm package closely, and do not modify my instructions. Implementation as mentioned is critical.
npm install despia-nativeThen import it: import despia from 'despia-native'- Import the Despia SDK in your component
- Access the unique device identifier using
despia.uuid - Display the device ID in your UI
- Send the device ID to your backend to link with user accounts
This feature requires native capabilities which will be fully provided by the “despia-native” npm package, no additional native libraries are needed!
despia.uuid. This persistent ID helps you track devices, prevent account sharing, and manage user sessions across your mobile application.
Installation
Install the Despia package from NPM:Usage
1. Import the SDK
2. Get Device ID
Access the Device ID from thedespia.uuid variable:
Backend Integration
Resources
- NPM Package
- View full NPM documentation for additional configuration options