Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

BUG: AdMob SDK (24.0.0+) prevents Dynamic Colors from updating on Android 15+

56 views
Skip to first unread message

Sam Lu

unread,
Apr 21, 2025, 4:01:37 AMApr 21
to Google Mobile Ads SDK Developers
Integrating and displaying a banner ad using the AdMob SDK appears to break the
functionality of Android's dynamic colors feature on devices running Android 15
and Android 16 beta 3. The app's theme colors, which should update based on
the user's wallpaper selection, become static after an AdMob ad is shown.

Issue Demonstration:
 
How to Reproduce:
  1. Download and open the attached dynamic_colors_fail-enable_admob.zip sample code.
  2. Navigate to MainActivity.kt.
  3. Change the ENABLE_AD variable on line 28 to true to enable ads or false to disable them and observe the difference in dynamic color behavior.

Code Snippet:
CoroutineScope(Dispatchers.IO).launch {
    // true -> dynamic colors does not work
    val ENABLE_AD = true

    if (ENABLE_AD) {
        MobileAds.initialize(this@MainActivity) {
            runOnUiThread {
                loadBanner()
            }
        }
    }
}

Download dynamic_colors_fail-enable_admob.zip:
https://drive.google.com/file/d/1IxnXa_jUizPDS9Hir7U3eSWEMHXT8d85/view?usp=sharing

Mobile Ads SDK Forum Advisor

unread,
Apr 21, 2025, 8:24:12 AMApr 21
to a0s...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

I will raise this concern to the wider team, and will intimate once receive any update on this, meanwhile your patience is important.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-21 12:23:16Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUPIx:ref" (ADR-00300521)



Youssef Bouzaidi chékhi

unread,
Apr 22, 2025, 4:52:52 AMApr 22
to Sam Lu, Google Mobile Ads SDK Developers

Peace be upon you. Can I have some help? I want to know how to work and make money.


--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-admob-ads-sdk/e4c79790-3d9e-4717-91cb-6450f496361en%40googlegroups.com.

szwarc...@gmail.com

unread,
Apr 25, 2025, 3:06:44 AMApr 25
to Google Mobile Ads SDK Developers
This is not connected to AdMob but to WebView. 
If WebView is used then dynamic colors stop working.

Reply all
Reply to author
Forward
0 new messages