Updating to Jetpack Compose 1.7.0 (BOM version 2024.09.00) makes intercom-android v15.10.2 crash | Community
Skip to main content
Answered

Updating to Jetpack Compose 1.7.0 (BOM version 2024.09.00) makes intercom-android v15.10.2 crash

  • Sep 13, 2024 1:38 PM UTC
  • 5 replies
  • 729 views

2024-09-05 11:40:09.795  4736-4736  AndroidRuntime          ipnossoft.rma.free                   E  FATAL EXCEPTION: main
Process: ipnossoft.rma.free, PID: 4736
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/~~g_FRDbFowwX3NIDZuLr61w==/ipnossoft.rma.free-uVLziORaSPfDo1O1hhh66A==/base.apk)
at io.intercom.android.sdk.m5.conversation.ui.ConversationScreenKt.ConversationScreenContent(ConversationScreen.kt:370)
at io.intercom.android.sdk.m5.conversation.ui.ConversationScreenKt.ConversationScreen(ConversationScreen.kt:186)
at io.intercom.android.sdk.m5.navigation.ConversationDestinationKt$conversationDestination$12.invoke(ConversationDestination.kt:166)
at io.intercom.android.sdk.m5.navigation.ConversationDestinationKt$conversationDestination$12.invoke(ConversationDestination.kt:102)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:139)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.navigation.compose.NavHostKt$NavHost$14$1.invoke(NavHost.kt:308)
at androidx.navigation.compose.NavHostKt$NavHost$14$1.invoke(NavHost.kt:306)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)

Upgrading gave us some class not found errors coming from Intercom. Do you guys have to keep using experimental apis? It is frustrating to be blocked from updating because of your sdk.

Jetpack compose 1.7.0 is a big update and allows animations for adding and removing items from lazy collections. Please release an update as soon as possible, thanks!

Best answer by Emilygav

Hey @Sean Blahovici 👋🏼

Our new SDK version that supports Compose 1.7 was released a couple weeks ago.

You can find it here! 👉🏼 https://github.com/intercom/intercom-android/releases/tag/15.10.3

Hopefully that should fix all issues reagrding crashes :)

View original

5 replies

  • New Participant
  • Sep 16, 2024 10:03 PM UTC

Same issue


  • New Participant
  • Sep 18, 2024 5:48 AM UTC

We have the same issue also


  • New Participant
  • Sep 20, 2024 12:31 PM UTC

Bump


Forum|alt.badge.img
  • Connector
  • Sep 23, 2024 2:44 PM UTC

Related: 

 

 


Emilygav
Intercom Team
Forum|alt.badge.img+6
  • Intercom Team
  • Answer
  • Oct 11, 2024 9:17 AM UTC

Hey @Sean Blahovici 👋🏼

Our new SDK version that supports Compose 1.7 was released a couple weeks ago.

You can find it here! 👉🏼 https://github.com/intercom/intercom-android/releases/tag/15.10.3

Hopefully that should fix all issues reagrding crashes :)