Answered

Android SDK crash on Android 14

  • 17 November 2023
  • 4 replies
  • 502 views

Userlevel 1
Badge

Hi!

We’ve started seeing crashed on the Intercom version 15.4.0 on an Android 14 device (SM-S918B). We’re updating to the latest 15.5.0 version of the Intercom SDK, but it’s release notes don’t mention if this is fixed there or not.

I’m attaching the exception’s stacktrace below, please let me know if you need any additional information.
 

java.lang.IllegalArgumentException: Targeting U+ (version 34 and above) disallows creating or retrieving a PendingIntent with FLAG_MUTABLE, an implicit Intent within and without FLAG_NO_CREATE and FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT for security reasons. To retrieve an already existing PendingIntent, use FLAG_NO_CREATE, however, to create a new PendingIntent with an implicit Intent use FLAG_IMMUTABLE.    at android.os.Parcel.createExceptionOrNull(Parcel.java:3073)    at android.os.Parcel.createException(Parcel.java:3053)    at android.os.Parcel.readException(Parcel.java:3036)    at android.os.Parcel.readException(Parcel.java:2978)    at android.app.IActivityManager$Stub$Proxy.getIntentSenderWithFeature(IActivityManager.java:7021)    at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:561)    at android.app.PendingIntent.getActivity(PendingIntent.java:537)    at android.app.PendingIntent.getActivity(PendingIntent.java:501)    at io.intercom.android.sdk.m5.push.ConversationActionHandlerKt.getAttachmentIntent(ConversationActionHandler.kt:80)    at io.intercom.android.sdk.m5.push.ConversationActionHandlerKt.buildContextualAction(ConversationActionHandler.kt:60)    at io.intercom.android.sdk.m5.push.ui.ConversationStylePushUIKt.buildConversationStyleNotification(ConversationStylePushUI.kt:69)    at io.intercom.android.sdk.m5.push.IntercomNotificationHandler$processConversationPushNotification$1.invoke(IntercomNotificationHandler.kt:128)    at io.intercom.android.sdk.m5.push.IntercomNotificationHandler$processConversationPushNotification$1.invoke(IntercomNotificationHandler.kt:96)    at io.intercom.android.sdk.m5.push.IntercomPushBitmapUtilsKt$loadBitmaps$1.invokeSuspend(IntercomPushBitmapUtils.kt:58)    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
icon

Best answer by Racheal 21 November 2023, 01:28

View original

4 replies

Userlevel 4
Badge +5

Hey @Roman Kamyshnikov Racheal from the support engineer team here👋 

 

These types of issues are best looked at by our support team. I’ll go ahead and forward this into the team!

Userlevel 1
Badge

Hey @Racheal, just writing to let you know that we started seeing this in 15.5.0 too, so looks like this wasn’t fixed. Could forward this info to the support team please?

Hi @Racheal . We continue having crashes. Do you have an update or forward this to the support team please?

Hey, we’re using `15.5.1` and still have this issue. Would appreciate a response on this thread if/when it’s fixed. Thanks.

Reply