Answered

error: Shortcut must have a non-empty label

  • 26 July 2023
  • 2 replies
  • 66 views

Greetings.

With the update to the latest version of Intercom 15.1.4 and addition of “Inline reply and smart suggestions to chat notification” feature, while testing this functionality on Galaxy A51/Android 13 it caused this to happen:

java.lang.IllegalArgumentException: Shortcut must have a non-empty label
18:02:43.782 System.err W at androidx.core.content.pm.w$b.a(ShortcutInfoCompat.java:249)
18:02:43.782 System.err W at io.intercom.android.sdk.m5.push.ui.ConversationShortcutKt.createTemporaryShortcut(ConversationShortcut.kt:178)
18:02:43.782 System.err W at io.intercom.android.sdk.m5.push.IntercomNotificationHandler$processConversationPushNotification$1.invoke(IntercomNotificationHandler.kt:10)
18:02:43.782 System.err W at io.intercom.android.sdk.m5.push.IntercomNotificationHandler$processConversationPushNotification$1.invoke(IntercomNotificationHandler.kt:1)
18:02:43.782 System.err W at io.intercom.android.sdk.m5.push.IntercomPushBitmapUtilsKt$loadAvatarBitmap$1.invokeSuspend(IntercomPushBitmapUtils.kt:75)
18:02:43.782 System.err W at kotlin.coroutines.jvm.internal.a.resumeWith(ContinuationImpl.kt:12)
18:02:43.783 System.err W at kotlinx.coroutines.b1.run(DispatchedTask.kt:119)
18:02:43.783 System.err W at kotlinx.coroutines.internal.n.run(LimitedDispatcher.kt:13)
18:02:43.783 System.err W at kotlinx.coroutines.scheduling.k.run(Tasks.kt:3)
18:02:43.783 System.err W at kotlinx.coroutines.scheduling.a.n(CoroutineScheduler.kt:1)
18:02:43.783 System.err W at kotlinx.coroutines.scheduling.a$c.d(CoroutineScheduler.kt:15)
18:02:43.783 System.err W at kotlinx.coroutines.scheduling.a$c.n(CoroutineScheduler.kt:29)
18:02:43.783 System.err W at kotlinx.coroutines.scheduling.a$c.run(CoroutineScheduler.kt:1)
18:02:43.783 System.err W Suppressed: kotlinx.coroutines.z0: [x2{Cancelling}@54a1ea9, Dispatchers.IO]

Main step is to send a message with push-notification. It sends it but this error appears.

If it’s a wrong place to report such issues, please direct me to a proper form.

Sincerely,
Egorov Timur, Mobile QA Android of kupi.com.

icon

Best answer by Jacob Cox 29 July 2023, 23:45

View original

2 replies

Userlevel 4
Badge +5

Hi there @Дмитрий Ибрагимов !

Issues like these are normally do to your specific setup and are best addressed by writing into our Support Team via the Messenger in your Intercom workspace. I’ve gone ahead and sent this question over to them just now! You should get a response from them at the email address that you have on file so be on the look out for that!

Hi there @Дмитрий Ибрагимов !

Issues like these are normally do to your specific setup and are best addressed by writing into our Support Team via the Messenger in your Intercom workspace. I’ve gone ahead and sent this question over to them just now! You should get a response from them at the email address that you have on file so be on the look out for that!

Much obliged!

Reply