Documentation Index
Fetch the complete documentation index at: https://setup.despia.com/llms.txt
Use this file to discover all available pages before exploring further.
Lovable Prompt
Check user privacy consent status for Apple’s App Tracking Transparency (ATT) and GDPR compliance 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 tracking consent status using
despia.trackingDisabled - Display the privacy status in your UI
- Send the consent status to your backend to ensure compliance
This feature requires native capabilities which will be fully provided by the “despia-native” npm package, no additional native libraries are needed!
despia.trackingDisabled.
Installation
Install the Despia package from NPM:Usage
1. Import the SDK
2. Get Privacy Consent Status
Access the tracking consent status from thedespia.trackingDisabled variable:
Backend Integration
This is merely an illustration; your implementation may differ.Resources
- NPM Package
- View full NPM documentation for additional configuration options