AppLovin / AppLovin-MAX-SDK-iOS

84 stars 69 forks source link

[CMP] Sometimes doesn't show gdpr from Admob UMP #288

Open ab-rdarts opened 3 months ago

ab-rdarts commented 3 months ago

MAX SDK Version

12.1.0

Device/Platform Info

iOS 17.2 or any other

Current Behavior

We have unexpected behaviour with new CMP Terms flow. Sometimes application doesn't show Google UMP Gdpr screen during applovin initialisation. Also mediation debugger shows CMP = none. Sometimes it shows after reinstalling application on the same device.

[AppLovinSdk] DEBUG [AppLovinSdk] 
========================================
=====AppLovin SDK=====
===SDK Versions===
Version: 12.1.0
Plugin Version: 
Ad Review Version: 7.1.0
OM SDK Version: 1.4.9-Applovin
===Device Info===
OS: iOS 17.2
IDFA: <Enable verbose logging to see the IDFA to use for test devices - https://monetization-support.applovin.com/hc/en-us/articles/236114328-How-can-I-expose-verbose-logging-for-the-SDK>
Model: x86_64
Locale: en_PL
Simulator: 1
Tablet: 0
===App Info===
Bundle ID: com.zephyrmobile.colorbynumber
Has AppLovinSDKResources: true
NSAdvertisingAttributionReportEndpoint: (null)
===SDK Settings===
SDK Key: <SDK KEY>
Mediation Provider: (null)
TG: 56
AEI: 96
MEI: 127
Test Mode On: true
Verbose Logging On: false
===Privacy States===
Please review AppLovin MAX documentation to be compliant with regional privacy policies.

Age Restricted User - No value set
Has User Consent - No value set
"Do Not Sell" - No value set
===App Tracking Transparency===
Authorization Status: Denied (2)
NSUserTrackingUsageDescription Exists: true
===MAX Terms Flow===
Enabled: true
Flow Type: MAX Terms and Privacy Policy Flow
Privacy Policy URL: https://test.com/privacy
Terms of Service URL: https://test.com/terms/
===CMP (Consent Management Platform)===

CMP Name - No value set
CMP SDK ID - No value set
CMP SDK Version - No value set
IABTCF_gdprApplies - No value set
IABTCF_TCString - No value set
IABTCF_AddtlConsent - No value set
========================================

Expected Behavior

We expect that it shows consent screen always when gdpr is applicable.

How to Reproduce

Not sure how to reproduce. Just reinstall application in GDPR zone.

Screenshot 2024-01-15 at 17 35 41

Additional Info

No response

alpha-moisol commented 3 months ago

Experiencing the same issue

ab-rdarts commented 3 months ago

as I see Unity plugin has the same issue https://github.com/AppLovin/AppLovin-MAX-Unity-Plugin/issues/328

PalliativeX commented 3 months ago

In my case I cleared the game data after the install out of habit, which seems to clear some prefs required for the CMP (but that's only by default for non-GDPR, without VPN). The main issue was the setup of Admob Consent window (I was provided the Admob App key), which didn't show the CMP window with GDPR debug mode or German VPN. When I used my own setup, the issue resolved. Снимок экрана 2024-02-02 102757 image

Speaking about Applovin setup, I enabled MAX Terms and Privacy Policy flow, provided a Privacy Policy link and added AdMob to mediated networks (not sure that it will work without using it). image image