intercom icon indicating copy to clipboard operation
intercom copied to clipboard

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

Open gabides opened this issue 6 months ago • 2 comments

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

gabides avatar Jun 24 '25 10:06 gabides

Sounds like an issue with the Intercom package. Have you tried pod deintegrate and reinstalling dependencies?

stewones avatar Jun 24 '25 15:06 stewones

I tried cleaning the build folder and pod deintegrate and it does not help, and this also happens on my CI build so I don't think it comes from cached dependencies

gabides avatar Jun 25 '25 08:06 gabides