UMP GDPR consent dialog popup on every launch even if users agreed, disagreed.

266 views
Skip to first unread message

Kam

unread,
Jan 19, 2024, 1:06:14 AM1/19/24
to Google Mobile Ads SDK Developers
I followed UMP guide to add consent dialog to my app.
Every time I launch app again. Consent dialog appear again.
Logcat shows
Stored info not exists: IABTCF_AddtlConsent

Please help my apps impression massively down from 340k to 260k.

Mobile Ads SDK Forum Advisor

unread,
Jan 19, 2024, 1:22:54 AM1/19/24
to packc...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

I will check with our team regarding your query and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.
 

This message is in relation to case "ref:!00D1U01174p.!5004Q02rXWEe:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Kam

unread,
Jan 19, 2024, 3:38:42 AM1/19/24
to Google Mobile Ads SDK Developers
I found out that it is happening in projects having datastore.
androidx.datastore:datastore-preferences:1.0.0

Working fine in projects not migrated to datastore.
Please check.

Mobile Ads SDK Forum Advisor

unread,
Jan 19, 2024, 7:20:29 PM1/19/24
to packc...@gmail.com, google-adm...@googlegroups.com
Hello,

Thank you for your inquiry. I am unable to replicate the use-case you are observing. I added 
implementation "androidx.datastore:datastore-preferences:1.0.0"

to our existing BannerExample and only saw the consent form on first launch. After my consent was gathered it did not appear again. Can you please share a minimal reproducible sample of the issue you are experiencing so I can take a closer look?

Thanks,
Justin

ref:!00D1U01174p.!5004Q02rXWEe:ref

Kam

unread,
Jan 21, 2024, 12:38:04 AM1/21/24
to Google Mobile Ads SDK Developers
 Check attached MainActivity.kt file and use it in BannerExample.
MainActivity.kt

Mobile Ads SDK Forum Advisor

unread,
Jan 22, 2024, 11:46:18 AM1/22/24
to packc...@gmail.com, google-adm...@googlegroups.com
Hello,

Thank you for providing that code snippet. I am now able to reproduce the issue you are experiencing. I have escalated to the Android engineering team with a sample project included for them to take a closer look. I will respond here as soon as I have an update to share. 

Mobile Ads SDK Forum Advisor

unread,
Mar 21, 2024, 10:24:18 AM3/21/24
to packc...@gmail.com, google-adm...@googlegroups.com
Hello,

Thank you for your patience. Per the TCF spec , SharedPreferences is required for GDPR consent. Using DataStore may result in unexpected behavior. You can resolve this issue by using SharedPreferences for your consent local storage needs.
Reply all
Reply to author
Forward
0 new messages