Skip to main content

After upgrading to Compose 1.7.0, I get the following crash.

Process: com.toasttab.toastoperator.preprod, PID: 23851
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' appears in /data/app/~~b5UPeePLMTwW-g8HyLVhuA==/com.toasttab.toastoperator.preprod-94iR5SgFn2i9HyAs8uyDnA==/base.apk)
at io.intercom.android.sdk.m5.conversation.ui.ConversationScreenKt.ConversationScreenContent(ConversationScreen.kt:371)
at io.intercom.android.sdk.m5.conversation.ui.ConversationScreenKt.ConversationScreen(ConversationScreen.kt:189)
at io.intercom.android.sdk.m5.navigation.ConversationDestinationKt$conversationDestination$13.invoke(ConversationDestination.kt:178)
at io.intercom.android.sdk.m5.navigation.ConversationDestinationKt$conversationDestination$13.invoke(ConversationDestination.kt:107)

Another user is getting a similar crash: 

It appears that the SDK needs to upgrade to Compose 1.7.0. Is there an estimate on when this will occur?

Hi @ryan.payne ! Ebenezer here from Engineering Support👋.

Intercom is not compatible with Compose 1.7.0 just yet. Version 1.7.0 is still in beta so we aren’t able to upgrade.

The moment this version becomes stable, we’ll make a move for it!

Hope this help!


@Ebenezer.Laleye  1.7.0 is not in Beta
https://developer.android.com/jetpack/androidx/releases/compose-ui#1.7.0

 


@Ebenezer.Laleye It’s stable


@ryan.payne @Seb @olegaches 👋

Version 15.10.3 of our Android SDK was released last week and contains support for Compose 1.7.0.

Hope this helps


Reply