capacitor-community / capacitor-community/intercom

Post with small message on iOS cannot be closed in v7.0.3

Open
#134 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
70
Forks
82
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
after migrating from version `6.0.2` to `7.0.3`, small messages cannot be closed inside iOS app and UI is blocked (only way to close the `small` message is to kill the app)

**To Reproduce**
Steps to reproduce the behavior:
1. Install `"capacitor-community/intercom": "7.0.3"`
2. init intercom user in the mobile app and close the app
3. From intercom dashboard, create a "Post", use message size `small`, put your mobile user in the audience
4. Open the app (or trigger the post from the app)

-> Small message is shown
-> Small message cannot be closed (no error in the JS context, and no error on XCode). App is blocked until you kill it and reopen

with message size `large` this does not happen, and on previous major version (6.0.2) this does not happen as well for small messages

**Expected behavior**
Small message can be closed and user is not blocked

**Screenshots**
Image

**Smartphone (please complete the following information):**
- Device: iPhone 11 Pro, iPhone 13 mini (issue is reproduced on all devices we tested)
- OS: iOS 18.5, iOS 18.1.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.