Skip to main content
Answered

Jetpack compose crashes when adding intercom library

  • May 15, 2023
  • 1 reply
  • 148 views

I’m having a crash after adding intercom SDK to my jetpack compose project.
I using intercom-sdk-base:15.0.0

At launch I’m having this crash (before I init intercom):

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.solidict.gezerkasa.dev, PID: 31609
    java.lang.NullPointerException: Parameter specified as non-null is null: method androidx.compose.material.ModalBottomSheetKt.rememberModalBottomSheetState, parameter confirmStateChange
        at androidx.compose.material.ModalBottomSheetKt.rememberModalBottomSheetState(Unknown Source:7)
        at com.google.accompanist.navigation.material.BottomSheetNavigatorKt.rememberBottomSheetNavigator(BottomSheetNavigator.kt:107)

 

I tried to change material versions as I saw in the other tickets but again I had the same crash.

I tried to use different intercom versions all the same.

any help would be greatly appreciated.

Best answer by Jacob Cox

Hi @Ahmet Nova !

 

It’s not clear to me that the error message you sent over is related to the SDK. Is there a reason why you think it is?

Also, by “Jetpack compose project” do you mean a native Android app?

View original
Did this topic help you find an answer to your question?

1 reply

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • May 28, 2023

Hi @Ahmet Nova !

 

It’s not clear to me that the error message you sent over is related to the SDK. Is there a reason why you think it is?

Also, by “Jetpack compose project” do you mean a native Android app?


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