Has anyone else had trouble with their Compose app crashing on release builds with R8 enabled? Running into a weird crash on one of the screens in my app that seems to be related to the number of composables being drawn on screen at once. For example, if I comment out a few of my composables on that screen, the crash doesn't occur (doesn't matter which ones I comment out). Happens on both 1.1.1 and 1.2.0-rc02.
Are there any ProGuard / R8 rules specific to Compose that I'm missing?
farmerbb
06/23/2022, 4:55 PM
App still crashes after adding
-keep class androidx.compose.runtime.** { *; }
to my ProGuard rules, but at least I get an unobfuscated stack trace now.
I guess my next question is, what else would cause a Compose app to behave differently between a debug and release build that would result in a crash like this?