Hi,
After updating to latest android sdk version (15.6.0), there's a crash when user clicks 'Send us a message' or 'Messages' Button. I attach crash logs below
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/paging/Pager;
at io.intercom.android.sdk.m5.inbox.InboxViewModel.<init>(InboxViewModel.kt:44)
at io.intercom.android.sdk.m5.inbox.InboxViewModel.<init>(InboxViewModel.kt:30)
at io.intercom.android.sdk.m5.inbox.InboxViewModel$Companion$factory$1.create(InboxViewModel.kt:109)
at androidx.lifecycle.ViewModelProvider$Factory.create(ViewModelProvider.kt:83)
at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:187)
at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:153)
at io.intercom.android.sdk.m5.inbox.InboxViewModel$Companion.create(InboxViewModel.kt:102)
at io.intercom.android.sdk.m5.navigation.ConversationDestinationKt$conversationDestination$5.invoke(ConversationDestination.kt:99)
at io.intercom.android.sdk.m5.navigation.ConversationDestinationKt$conversationDestination$5.invoke(ConversationDestination.kt:72)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:138)
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:108)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:248)
at androidx.compose.runtime.saveable.SaveableStateHolderImpl.SaveableStateProvider(SaveableStateHolder.kt:84)
at androidx.navigation.compose.NavBackStackEntryProviderKt.SaveableStateProvider(NavBackStackEntryProvider.kt:65)
at androidx.navigation.compose.NavBackStackEntryProviderKt.access$SaveableStateProvider(NavBackStackEntryProvider.kt:1)
at androidx.navigation.compose.NavBackStackEntryProviderKt$LocalOwnersProvider$1.invoke(NavBackStackEntryProvider.kt:52)
at androidx.navigation.compose.NavBackStackEntryProviderKt$LocalOwnersProvider$1.invoke(NavBackStackEntryProvider.kt:51)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:108)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
at androidx.navigation.compose.NavBackStackEntryProviderKt.LocalOwnersProvider(NavBackStackEntryProvider.kt:47)
at androidx.navigation.compose.NavHostKt$NavHost$14.invoke(NavHost.kt:306)
at androidx.navigation.compose.NavHostKt$NavHost$14.invoke(NavHost.kt:295)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:138)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.animation.AnimatedContentKt$PopulateContentFor$5.invoke(AnimatedContent.kt:943)
at androidx.compose.animation.AnimatedContentKt$PopulateContentFor$5.invoke(AnimatedContent.kt:934)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:117)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.animation.AnimatedVisibilityKt.AnimatedEnterExitImpl(AnimatedVisibility.kt:818)
at androidx.compose.animation.AnimatedContentKt$AnimatedContent$6$2$1.invoke(AnimatedContent.kt:1249)
at androidx.compose.animation.AnimatedContentKt$AnimatedContent$6$2$1.invoke(AnimatedContent.kt:827)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:108)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.animation.AnimatedContentKt$AnimatedContent$6.invoke(AnimatedContent.kt:854)
E at androidx.compose.animation.AnimatedContentKt$AnimatedContent$6.invoke(AnimatedContent.kt:775)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:117)
at androidx.compose.runtime.internal.ComposableLambdaImpl$invoke$1.invoke(ComposableLambda.jvm.kt:129)
at androidx.compose.runtime.internal.ComposableLambdaImpl$invoke$1.invoke(ComposableLambda.jvm.kt:128)
at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:192)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2522)
at androidx.compose.runtime.ComposerImpl.skipToGroupEnd(Composer.kt:2814)
at androidx.compose.ui.layout.LookaheadScopeKt.LookaheadScope(LookaheadScope.kt:66)
at androidx.compose.animation.AnimatedContentKt.AnimatedContent(AnimatedContent.kt:775)
at androidx.navigation.compose.NavHostKt.NavHost(NavHost.kt:273)
at androidx.navigation.compose.NavHostKt$NavHost$17.invoke(Unknown Source:27)
at androidx.navigation.compose.NavHostKt$NavHost$17.invoke(Unknown Source:10)
at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:192)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2522)
at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:2791)
at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3270)
at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:3221)
at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:932)
at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1143)
at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:124)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:580)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:548)
at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109)
at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1299)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1309)
at android.view.Choreographer.doCallbacks(Choreographer.java:923)
at android.view.Choreographer.doFrame(Choreographer.java:847)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1283)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: nandroidx.compose.runtime.PausableMonotonicFrameClock@6d3426f, androidx.compose.ui.platform.MotionDurationScaleImpl@70b4b7c, StandaloneCoroutine{Cancelling}@eb71c05, AndroidUiDispatcher@f5ea45a]
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.paging.Pager" on path: DexPathListiszip file
"/data/app/~~i5N6iV2KHrN-qwe==/my.app-R9vO1dl23ae9YWFyr-nL4w==/base.apk"],nativeLibraryDirectories=[/data/app/~~i5N6iV2KHrN-R0hR123kwpw==/my.app-123-nL4w==/lib/arm64, /data/app/~~i5N6iV2KHrN-R0hRQMkwpw==/my.app-R9vO1dlMhae9YWFyr-123==/base.apk!/lib/arm64-v8a, /system/lib64, /system/system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
E at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 78 more