App crashing when user is uploading a photo from gallery. | Community
Skip to main content
Answered

App crashing when user is uploading a photo from gallery.

  • Sep 9, 2024 10:22 PM UTC
  • 5 replies
  • 505 views

Both Pixel and Samsung devices running Android 14 and Intercom version 15.10.2  is crashing when a user uploading an image from their gallery.

 java.lang.NoSuchMethodError: No static method HorizontalPager-xYaah8o(Landroidx/compose/foundation/pager/PagerState;Landroidx/compose/ui/Modifier;Landroidx/compose/foundation/layout/PaddingValues;Landroidx/compose/foundation/pager/PageSize;IFLandroidx/compose/ui/Alignment$Vertical;Landroidx/compose/foundation/gestures/snapping/SnapFlingBehavior;ZZLkotlin/jvm/functions/Function1;Landroidx/compose/ui/input/nestedscroll/NestedScrollConnection;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;III)V in class Landroidx/compose/foundation/pager/PagerKt; or its super classes (declaration of 'androidx.compose.foundation.pager.PagerKt' appears in /data/app/~~5oQf0q09nhBxwSb5oyFQEQ==/com.thecut.mobile.android.thecut.development-nGGPu-u6faKf_lbwt0ub3w==/base.apk)

at io.intercom.android.sdk.ui.preview.ui.PreviewRootScreenKt$PreviewRootScreen$2.invoke(PreviewRootScreen.kt:123)

at io.intercom.android.sdk.ui.preview.ui.PreviewRootScreenKt$PreviewRootScreen$2.invoke(PreviewRootScreen.kt:89)

 at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:118)

at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)

Best answer by mateusz.leszkiewicz

Hi @smart @ryan.payne @AndroidClear2452 @Devs OBDeleven, It’s Mat from the Support Engineering Team 😀

Can you please upgrade the Intercom SDK to 15.10.3 and check if the issue still persists?

View original

5 replies

Forum|alt.badge.img
  • Connector
  • Sep 10, 2024 1:14 PM UTC

What version of Compose are you on? If it’s 1.7.0, then there appears to be some breaking changes that effect Intercom. The Intercom SDK will need to be upgraded to 1.7.0 to fix this.

I submitted an idea asking when this upgrade will be made: 

 


@ryan.payne  I am on compose 1.7.0 as well. 


  • New Participant
  • Sep 25, 2024 6:40 AM UTC

We’re experiencing this same issue as well. When will it be fixed?


We do experience the same issue, on 15.10.2 and 15.10.1 versions. 


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+7

Hi @smart @ryan.payne @AndroidClear2452 @Devs OBDeleven, It’s Mat from the Support Engineering Team 😀

Can you please upgrade the Intercom SDK to 15.10.3 and check if the issue still persists?