Search code examples
androidandroid-jetpack-composematerial-designmaterial-components-android

Updating Jetpack Compose broke dynamic colors


In my Android Project I was using the Compose BOM 2023.08.00 version, and now I updated to 2024.04.01, but after doing so, dynamic colors no longer work. Instead, it shows gray (which isn't the standard blue nor the Material purple).

Before the update (red-ish from the background):

Before the update

After the update:

After the update

Didn't change anything and happens with every other color. I'll add more info if needed.


Solution

  • I am seeing this same issue, only on my Samsung device. It seems to have broken with Compose BoM 2024.02.00, when androidx.compose.material3:material3 was bumped from 1.1.2 to 1.2.0. I don't see anything in the change log either.