capacitor-community / capacitor-community/intercom

iOS: “Insert an article” links sent by support open as Not Found in Messenger (Capacitor SDK 7.x + Intercom iOS SDK 18.x)

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

Description

### Description

On iOS, when using `@capacitor-community/intercom`, Help Center articles sent by support agents via **“Insert an article”** in the Intercom Messenger are not opening for end users.

Instead of opening the article, the Messenger shows a **“Not Found”** screen.

The same article:
- opens correctly in a browser
- opens correctly when manually opened via `Intercom.displayArticle({ articleId })`
- opens correctly on Web using Intercom Web SDK

This issue happens only when the article is **attached inside the chat by support**.

---

### Environment

- Capacitor: **7.x**
- Plugin: **@capacitor-community/intercom**
- Plugin version: **7.0.3** (also tested 7.2.0)
- iOS Intercom SDK: **~18.x**
- iOS version: **15.1+**
- Platform: **iOS (hybrid Capacitor app)**
- Package manager: **Yarn**

---

### Steps to reproduce

1. Integrate `@capacitor-community/intercom` in a Capacitor iOS app
2. Open Intercom Messenger in the app
3. From the Intercom admin panel, as a support agent:
- open an active conversation
- click **“Insert an article”**
- select any Help Center article
4. On the user device (iOS), tap the article link inside the chat

---

### Expected behavior

The Help Center article should open correctly inside the Intercom Messenger (native article view).

---

### Actual behavior

The Messenger shows a **“Not Found”** screen when tapping the article inside the chat.

---

### Additional notes / observations

- Calling `Intercom.displayArticle({ articleId })` manually **works correctly**
- The issue seems specific to articles inserted via chat (likely web URLs)
- Web SDK (`window.Intercom('showArticle', articleId)`) does not have this issue
- This may be related to limitations of **Intercom iOS SDK 18.x** when resolving article URLs inside Messenger
- Newer Intercom iOS SDK versions appear to handle this better

---

### Logs (iOS)

```text
HTTP load failed, error code: -1003 (NSURLErrorDomain)
"Unable to find the specified host"

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.