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
-
Launch the app on iOS.
-
Trigger an in-app Intercom message.
-
Tap the "Close" button or interact with a React component rendered within the message.
-
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.