You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When GDPR applies to the user and your app does not use a CMP compatible with TCF v2.2, use this API to provide the consent data directly to the SDK.<br>
778
-
The consent object has 2 properties:
777
+
The AppsFlyerConsent object has 2 methods:
778
+
779
+
1.`AppsFlyerConsent.forNonGDPRUser`: Indicates that GDPR doesn’t apply to the user and generates nonGDPR consent object. This method doesn’t accept any parameters.
780
+
2.`AppsFlyerConsent.forGDPRUser`: create an AppsFlyerConsent object with 2 parameters:
779
781
780
-
1.`hasConsentForDataUsage`: Indicates whether the user has consented to use their data for advertising purposes.
781
-
2.`hasConsentForAdsPersonalization`: ndicates whether the user has consented to use their data for personalized advertising.
782
782
783
783
| parameter | type | description |
784
784
| ---------- |----------|------------------ |
785
-
| consentData | object | Consent object of the user |
785
+
| hasConsentForDataUsage | boolean | Indicates whether the user has consented to use their data for advertising purposes |
786
+
| hasConsentForAdsPersonalization | boolean | Indicates whether the user has consented to use their data for personalized advertising |
0 commit comments