The app freezes and crashes on iOS after opening an in-app message and tapping either the close button or the React component. | Community
Skip to main content

I'm upgrading to React Native 0.77.2 and using Intercom SDK version @intercom/intercom-react-native 8.5.0. While most features work correctly, the app freezes and crashes on iOS after I open an in-app Intercom message and tap either the close button or interact with a Reaction within the message.

 

Reproduction Steps

  1. Launch the app on iOS.

  2. Trigger an in-app Intercom message.

  3. Tap the "Close" button or interact with a React component rendered within the message.

  4. App becomes unresponsive and eventually crashes (ANR).

 

Relevant Logs (Xcode + Sentry)

 

  • Sentry Breadcrumbs show lifecycle events for multiple Intercom-related view controllers:

    • ICMNoteViewController

    • ICMFullScreenInAppViewController

    • ICMInAppHeaderViewController

    • IntercomSDK_ITBBlockListViewController

  • A user touch event was captured:

    pSentryBreadcrumb] category = touchmessage = closeview = <UIButton frame=(317 4; 44 44)>
  • Multiple slow frame detections logged by SentryFramesTracker:

    SentryFramesTracker] Detected slow frame starting at …
     

  • ANR (Application Not Responding) warning:

    >SentryANRTrackerV1] ANR detected.

 

The title should be:


The app freezes and crashes on iOS after opening an in-app message and tapping either the close button or the Reaction button.


Downgrade to 7.2.1 solved the problem. However, it would be great if you can solve this.


Reply