Simple Consent
Handle consent using AATKit simple consent
Introduction
Nowadays, using a Simple Consent management is no longer recommended. Please consider using an industry standard consent management such as the IAB Transparency & Consent Framework and connecting it via Managed or Vendor Consent.
To set if the user has given or withheld consent for the collection and use of personal data (used for non-IAB partners), use the AATSimpleConsent default initializer and pass any value of the NonIABConsent enum
.obtained
if the user has given consent..withheld
if the user has declined..unknown
if the user has not set a preference.
If AATSimpleConsent
is used, AATKit will automatically read the IAB consent string stored (by third-party CMP) in NSUserDefaults (if available) and respect the settings for Gravite.
Usage
Last updated