Skip to main content
Answered

error: Shortcut must have a non-empty label


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.

Best answer by Jacob Cox

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!

View original
Did this topic help you find an answer to your question?

2 replies

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • July 29, 2023

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!


Jacob Cox wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings