You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to test a purchase in an android app. Whenever I try to show the DebugRevenueCatBottomSheet the app crashes with
java.lang.NoSuchMethodError: No static method rememberModalBottomSheetState(ZLkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)Landroidx/compose/material3/SheetState; in class Landroidx/compose/material3/ModalBottomSheet_androidKt; or its super classes (declaration of 'androidx.compose.material3.ModalBottomSheet_androidKt'
Environment
Platform: Android
SDK version: 8.9.0
OS version: 14
Android Studio version: 2024.1.1
How widespread is the issue. Percentage of devices affected: 100%, I'm testing on galaxy s23.
Debug logs that reproduce the issue: Not relevant.
Steps to reproduce: Launch the app and try to display DebugRevenueCatBottomSheet in any way (Compose).
Additional context
My app uses androidx.compose.material:material, not material3. But adding material3 doesn't change anything.
From my libs.versions.toml
composeBom = "2024.10.01"
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
Describe the bug
I'm trying to test a purchase in an android app. Whenever I try to show the DebugRevenueCatBottomSheet the app crashes with
java.lang.NoSuchMethodError: No static method rememberModalBottomSheetState(ZLkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)Landroidx/compose/material3/SheetState; in class Landroidx/compose/material3/ModalBottomSheet_androidKt; or its super classes (declaration of 'androidx.compose.material3.ModalBottomSheet_androidKt'
Additional context
My app uses androidx.compose.material:material, not material3. But adding material3 doesn't change anything.
From my libs.versions.toml
composeBom = "2024.10.01"
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
compose-runtime = { module = "androidx.compose.runtime:runtime" }
compose-ui = { module = "androidx.compose.ui:ui" }
compose-foundation = { module = "androidx.compose.foundation:foundation" }
compose-animation = { module = "androidx.compose.animation:animation" }
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
compose-material = { module = "androidx.compose.material:material" }
compose-material-icons = { module = "androidx.compose.material:material-icons-extended" }
The text was updated successfully, but these errors were encountered: