Answered

Android / React Native SDK Crashes on latest versions: java.lang.IllegalStateException: No OnBackPressedDispatcherOwner was provided via LocalOnBackPressedDispatcherOwner

  • 7 November 2023
  • 3 replies
  • 286 views

We are seeing the following crashes on Android only when upgrading to Version 6 of the React Native SDK. iOS works fine:

 

1-07 12:50:31.668 21555 21555 D AndroidRuntime: Shutting down VM
11-07 12:50:31.672 21555 21555 E AndroidRuntime: FATAL EXCEPTION: main
11-07 12:50:31.672 21555 21555 E AndroidRuntime: Process: com.neuropeakpro, PID: 21555
11-07 12:50:31.672 21555 21555 E AndroidRuntime: java.lang.IllegalStateException: No OnBackPressedDispatcherOwner was provided via LocalOnBackPressedDispatcherOwner
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.activity.compose.BackHandlerKt.BackHandler(BackHandler.kt:97)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.navigation.compose.NavHostKt.NavHost(NavHost.kt:212)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.navigation.compose.NavHostKt.NavHost(NavHost.kt:129)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at io.intercom.android.sdk.m5.helpcenter.HelpCenterScreenKt.HelpCenterNavGraph(HelpCenterScreen.kt:74)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at io.intercom.android.sdk.m5.helpcenter.HelpCenterScreenKt$HelpCenterScreen$1$2.invoke(HelpCenterScreen.kt:55)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at io.intercom.android.sdk.m5.helpcenter.HelpCenterScreenKt$HelpCenterScreen$1$2.invoke(HelpCenterScreen.kt:46)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:117)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.material.ScaffoldKt$ScaffoldLayout$1$1$1$bodyContentPlaceables$1.invoke(Scaffold.kt:322)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.material.ScaffoldKt$ScaffoldLayout$1$1$1$bodyContentPlaceables$1.invoke(Scaffold.kt:320)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:108)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$subcompose$3$1$1.invoke(SubcomposeLayout.kt:172)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$subcompose$3$1$1.invoke(SubcomposeLayout.kt:701)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:108)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.ActualJvm_jvmKt.invokeComposable(ActualJvm.jvm.kt:78)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3340)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.ComposerImpl.composeContent$runtime_release(Composer.kt:3273)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:588)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.Recomposer.composeInitial$runtime_release(Recomposer.kt:1013)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.ComposerImpl$CompositionContextImpl.composeInitial$runtime_release(Composer.kt:4007)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:520)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcomposeInto(SubcomposeLayout.kt:721)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcompose(SubcomposeLayout.kt:694)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcompose(SubcomposeLayout.kt:685)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.subcompose(SubcomposeLayout.kt:669)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$Scope.subcompose(SubcomposeLayout.kt:1014)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.material.ScaffoldKt$ScaffoldLayout$1$1$1.invoke(Scaffold.kt:320)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.material.ScaffoldKt$ScaffoldLayout$1$1$1.invoke(Scaffold.kt:243)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$createMeasurePolicy$1$measure$1.placeChildren(SubcomposeLayout.kt:879)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:365)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.672 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:493)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:337)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:683)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:656)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:337)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50$default(Placeable.kt:225)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.BoxKt.placeInBox(Box.kt:185)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.BoxKt.access$placeInBox(Box.kt:1)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.BoxKt$boxMeasurePolicy$1$measure$2.invoke(Box.kt:125)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.BoxKt$boxMeasurePolicy$1$measure$2.invoke(Box.kt:124)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:365)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:493)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer(Placeable.kt:337)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer$default(Placeable.kt:288)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(GraphicsLayerModifier.kt:648)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(GraphicsLayerModifier.kt:647)
11-07 12:50:31.674 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:172)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:337)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:683)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:656)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place(Placeable.kt:337)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place$default(Placeable.kt:213)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.animation.AnimatedEnterExitMeasurePolicy$measure$1.invoke(AnimatedVisibility.kt:802)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.animation.AnimatedEnterExitMeasurePolicy$measure$1.invoke(AnimatedVisibility.kt:800)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:365)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:493)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place(Placeable.kt:337)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.animation.AnimatedContentKt$AnimatedContent$6$1$1$1.invoke(AnimatedContent.kt:765)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.animation.AnimatedContentKt$AnimatedContent$6$1$1$1.invoke(AnimatedContent.kt:764)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:172)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:337)
11-07 12:50:31.677 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:683)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:656)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place(Placeable.kt:337)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place$default(Placeable.kt:213)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.animation.AnimatedContentMeasurePolicy$measure$3.invoke(AnimatedContent.kt:837)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.animation.AnimatedContentMeasurePolicy$measure$3.invoke(AnimatedContent.kt:829)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:365)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:493)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:337)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:683)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:656)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.680 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:337)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50$default(Placeable.kt:225)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.BoxKt.placeInBox(Box.kt:185)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.BoxKt.access$placeInBox(Box.kt:1)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.BoxKt$boxMeasurePolicy$1$measure$2.invoke(Box.kt:125)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.BoxKt$boxMeasurePolicy$1$measure$2.invoke(Box.kt:124)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:365)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildren$1$1.invoke(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:357)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:493)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative(Placeable.kt:337)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative$default(Placeable.kt:201)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.FillNode$measure$1.invoke(Size.kt:703)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.FillNode$measure$1.invoke(Size.kt:702)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:172)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place(Placeable.kt:337)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place$default(Placeable.kt:213)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.InsetsPaddingModifier$measure$1.invoke(WindowInsetsPadding.kt:176)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.foundation.layout.InsetsPaddingModifier$measure$1.invoke(WindowInsetsPadding.kt:175)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.kt:373)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:172)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:34)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:337)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:683)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinator$1.invoke(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:131)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:467)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:230)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
11-07 12:50:31.682 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:678)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.replace(LayoutNodeLayoutDelegate.kt:703)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.LayoutNode.replace$ui_release(LayoutNode.kt:910)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.MeasureAndLayoutDelegate.remeasureAndRelayoutIfNeeded(MeasureAndLayoutDelegate.kt:469)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.MeasureAndLayoutDelegate.access$remeasureAndRelayoutIfNeeded(MeasureAndLayoutDelegate.kt:39)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.node.MeasureAndLayoutDelegate.measureAndLayout(MeasureAndLayoutDelegate.kt:344)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.platform.AndroidComposeView.onLayout(AndroidComposeView.android.kt:997)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.View.layout(View.java:23143)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6412)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.platform.AbstractComposeView.internalOnLayout$ui_release(ComposeView.android.kt:322)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at androidx.compose.ui.platform.AbstractComposeView.onLayout(ComposeView.android.kt:313)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.View.layout(View.java:23143)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6412)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.View.layout(View.java:23143)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6412)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.View.layout(View.java:23143)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6412)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.View.layout(View.java:23143)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6412)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.View.layout(View.java:23143)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6412)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at com.android.internal.policy.DecorView.onLayout(DecorView.java:798)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.View.layout(View.java:23143)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6412)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3681)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3140)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2126)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8649)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1037)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:845)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:780)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7842)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
11-07 12:50:31.686 21555 21555 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

 

icon

Best answer by bernice 7 February 2024, 14:52

View original

3 replies

Userlevel 4
Badge +5

Hi @jason !

It looks like you’ve reached out to our Support team about this and they’ve opened up a bug report with our Product Team. They will keep you in the loop as that progresses. Thanks for writing in about this!

Hi, we are able to reproduce by using the below functions on latest SDK version on Android 14
 

  • Intercom.presentSpace(Space.helpCenter)

  • Intercom.presentContent(IntercomContent.helpCenterCollectionsWithIds([id]))

     

Seems to be an issue with Help Center

Userlevel 3
Badge +4

Hey @Tech Team !  

You will able to resolve this by removing the pin of androidx.appcompat version to strictly '1.3.1' in your app/build.gradle.

Hope this helps! 🚀

Reply