Skip to main content
Answered

What is the Android equivalent of "IntercomDidStartNewConversationNotification" from the iOS Intercom SDK?


I'm trying to figure out how to detect an Intercom Message was sent from our app. This is achievable in the iOS SDK using the "IntercomDidStartNewConversationNotification" NSNotification, albeit without knowing what the message actually was. Is there any way using the Android SDK? Doesn't look like there is... I'm a bit confused why there are hardly any callbacks or notifications within the Mobile clients when certain important events occur. Is this really not a requested feature?

Best answer by Daniel M15

Hey @ross b12​! Daniel here from Customer Support Engineering 🔧

 

At the moment, we do not offer an Android equivalent for the iOS IntercomDidStartNewConversationNotification NSNotification. There is no workaround that we have in place right now that can achieve the same functionality in an Android app.

 

This feature has been requested in the past, and is currently under review by our product team. In the meantime, keep your eyes on our GitHub repository for Android for updates and new features 👀

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

2 replies

  • Author
  • New Participant
  • 1 reply
  • May 26, 2022

Would be nice to get a response from an engineer...

 

Findings so far:

There may be a hacky solution using the UnreadConversationCountListener. We send an automated message to the user immediately so we can see the unread count go from x to x + 1 soon after creating a new conversation. But this relies on the fact that we do currently do this auto-reply, and might not always do this at all or in all circumstances.

 

When log level is set to Verbose we see the following in LogCat:

I/Intercom: Dispatched Action: NEW_CONVERSATION_SUCCESS: io.intercom.android.sdk.models.Conversation@be6230d1

But, we can't access those logs in a Production setting and the SDK does not expose this event.


Daniel M15
Employee
  • Employee
  • 240 replies
  • Answer
  • May 31, 2022

Hey @ross b12​! Daniel here from Customer Support Engineering 🔧

 

At the moment, we do not offer an Android equivalent for the iOS IntercomDidStartNewConversationNotification NSNotification. There is no workaround that we have in place right now that can achieve the same functionality in an Android app.

 

This feature has been requested in the past, and is currently under review by our product team. In the meantime, keep your eyes on our GitHub repository for Android for updates and new features 👀


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