Skip to main content
Answered

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

  • September 13, 2024
  • 5 replies
  • 387 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
Did this topic help you find an answer to your question?

5 replies

  • New Participant
  • 3 replies
  • September 16, 2024

Same issue


  • New Participant
  • 2 replies
  • September 18, 2024

We have the same issue also


  • New Participant
  • 3 replies
  • September 20, 2024

Bump


Forum|alt.badge.img
  • Connector
  • 5 replies
  • September 23, 2024

Emilygav
Intercom Team
Forum|alt.badge.img+3
  • Intercom Team
  • 75 replies
  • Answer
  • October 11, 2024

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 :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings