Skip to main content
Answered

Android SDK ANR on initialize


Forum|alt.badge.img

Hi, we’re running into an issue with ANRs on our application stemming from the initialize call on the Intercom SDK.

We are currently using 15.1.4 of the Android SDK with the following code used for initialization:

Intercom.initialize(
    application,
    apiKey,
    appId
)

The following is the stacktrace we’re seeing in Firebase for a number of our users:

 
io.intercom.android.sdk.Injector.getMetricTracker (Injector.java:255)
io.intercom.android.sdk.Injector.getOverlayPresenter (Injector.java:279)
io.intercom.android.sdk.Injector.getResetManager (Injector.java:333)
io.intercom.android.sdk.Injector.getLifecycleTracker (Injector.java:311)
io.intercom.android.sdk.Injector.initWithAppCredentials (Injector.java:135)
io.intercom.android.sdk.Intercom$Companion.create (Intercom.kt:1092)
io.intercom.android.sdk.Intercom$Companion.initialize (Intercom.kt:1005)
com.<redacted>.android.util.IntercomUtil.initialize (IntercomUtil.kt:38) 
 
When looking at the releases, we’re currently 2 patch versions behind but the release notes don’t indicate that the ANR has been resolved so I wanted to understand if this issue has been resolved or if it hasn’t been, if there is an ETA for when it would be resolved?

Best answer by cameron.gumley

Hi @Engineering! Cam from the Support Engineering team here. 

I can see you’ve started a chat with us over in Messenger and sent through some additional details on this issue - I’ve picked up the conversation and will get back to you on this there if thats ok?

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

3 replies

Forum|alt.badge.img+4
  • Intercom Team
  • 109 replies
  • Answer
  • August 17, 2023

Hi @Engineering! Cam from the Support Engineering team here. 

I can see you’ve started a chat with us over in Messenger and sent through some additional details on this issue - I’ve picked up the conversation and will get back to you on this there if thats ok?


@cameron.gumley 
I have a similar problem.
Inntercom SDK version 15.1.0. 
Firebase Boom version 32.2.3

Did you somehow manage to fix this?
 


Forum|alt.badge.img+4
  • Intercom Team
  • 109 replies
  • November 3, 2023

Hi @Serhiy WiFiMap

I believe you’ve already updated the Intercom iOS SDK being used by your app, which has hopefully resolved this issue, but posting an answer to your question for completeness in case other community members see the same issue:

Our team released a fix for this IntercomSDK_IntercomNexusSocket resetConnectionTimeout issue on iOS which has been implemented in the Intercom iOS SDK from version 15.1.5 onwards 👍

That being said, our team is still working on this issue in relation to the Intercom Android SDK. When there is a fix released I will provide an update. 

 


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