Hi Intercom Support,
I would like to report an issue encountered on Android devices when handling push notifications from Intercom. Specifically, the main application crashes upon tapping a push notification if the sender has an avatar (image_url is not empty).
Reproduction Steps:
- Create a trial Intercom conversation.
- Configure the Intercom Android SDK with the app ID and push notification settings.
- Use the main app to initiate a first message to Intercom.
- From the Intercom admin interface, send a reply message from an agent account that has no avatar set (i.e., image_url is empty).
- Receive the push notification on the Android device and tap on it.
Observed Behavior:
- If the sender has an avatar (image_url is set):
- Tapping the push notification opens the Intercom conversation.
- However, the main app process is killed. Pressing “Back” returns to the Android home screen.
- The user must relaunch the app manually.
- If the sender does not have an avatar:
- Tapping the notification opens the Intercom conversation normally.
- Pressing “Back” returns to the host app (expected behavior).
This behavior is device-dependent:
- On my Nubia Red Magic 8 Pro, behavior differs based on the presence of avatar (as described above).
- On Samsung A71 and Pixel Emulator, the app crashes in both scenarios (with or without avatar).
My Questions:
- Is this behavior (killing the app) expected from the Intercom Android SDK when handling push notifications?
- Is there a known issue related to image_url or avatar handling that could cause the host app to crash or be killed?
Notes:
- I have followed this official guide for push notification and deep linking:
- https://developers.intercom.com/installing-intercom/android/deep-linking
- I’m using intercom-react-native v8.5.0, but the same behavior occurs on earlier versions.
- This issue is reproducible consistently on the mentioned devices.
Thank you for your support,