Skip to main content
Answered

Intercom SDK Crashing on IOS

  • 23 January 2025
  • 1 reply
  • 32 views

Hi everyone,

 

I’ve reached out via support but in the meantime wanted to ask if anybody is experiencing this same issue in the community.

Platform: iOS (expo react-native)

Package: @intercom/intercom-react-native v. 8.1.0

Lately, we are seeing spike in the error `App Hanging +[ICMHTTPBridge submitMetrics]

This seems to be happening in intercom-ios. 

Below is a portion of stacktrace:

```

CoreFoundation      0x187de7518  -[NSDictionary isEqualToDictionary:]  CoreFoundation      0x187de7514  -[NSDictionary isEqualToDictionary:]  CoreFoundation      0x187de75b4  -[NSDictionary isEqualToDictionary:]  CoreFoundation      0x187dfe538  ____NSSetI_new_block_invoke  CoreFoundation      0x187dfe4a0  __NSSetI_new  Foundation          0x186a7ba88  -[NSSet(NSKeyValueCoding) valueForKey:]  Intercom            0x1037f3e34  +[ICMHTTPBridge submitMetrics]  CoreFoundation      0x187e0a474  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__  CoreFoundation      0x187e0a390  ___CFXRegistrationPost_block_invoke  CoreFoundation      0x187e08f04  _CFXRegistrationPost  CoreFoundation      0x187e08008  _CFXNotificationPost  Foundation          0x186a60508  -[NSNotificationCenter postNotificationName:object:userInfo:]  UIKitCore           0x18b737174  __47-[UIApplication _applicationDidEnterBackground]_block_invok

```

 

From my read of the stacktrace, this may be happening when the app is entering background mode (__47-[UIApplication _applicationDidEnterBackground]_block_invok) and intercom ios sdk tries to submit metrics (+[ICMHTTPBridge submitMetrics]) but fails to do so causing potential crash (or maybe its just the app waiting)?

 

Also, looking at intercom-ios repo, its at 18.4.0 but the react native version is using 18.2.0 per the release notes. Also, it does seem like there were some bugfixes on 18.2.2 patch version and I wonder if these would solve the problem. Would have been helpful if the changelogs had a bit more detail. Is anybody else running into this? Any solution for this issue. We are getting tons of the error messages from our exception tracking tool for last couple of days.

 

Thanks!

Best answer by Jacques Reynolds

Hey ​@Samar Acharya 👋 Jacques here from Support Engineering with Intercom. I hope all is well with you :)

I can see you’re currently in contact with our Support Team regarding this issue with the SDK.

Thanks for reaching out! They’ll be able to deal with this issue for you there 🙏

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

1 reply

Jacques Reynolds
Intercom Team
Forum|alt.badge.img+4

Hey ​@Samar Acharya 👋 Jacques here from Support Engineering with Intercom. I hope all is well with you :)

I can see you’re currently in contact with our Support Team regarding this issue with the SDK.

Thanks for reaching out! They’ll be able to deal with this issue for you there 🙏


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