Post with small message on iOS cannot be closed in v7.0.3
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:
- Install
"capacitor-community/intercom": "7.0.3" - init intercom user in the mobile app and close the app
- From intercom dashboard, create a "Post", use message size
small, put your mobile user in the audience - 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
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
Sounds like an issue with the Intercom package. Have you tried pod deintegrate and reinstalling dependencies?
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