Skip to main content

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.

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?


Reply