From c2e4e13831fa8d0437aae032a1de1db67ca03824 Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Thu, 18 Jun 2026 15:16:05 +0200 Subject: [PATCH 1/2] feat: upgrade Intercom SDK to iOS 19.6.3 / Android 18.3.0 Bumps the native Intercom dependencies to their latest releases: - iOS (CocoaPods): Intercom `~> 18.0` -> `~> 19.0` - iOS (SPM): intercom-ios-sp `from: 18.0.0` -> `19.6.3` - Android: intercom-sdk `17.0.2` -> `18.3.0` The iOS 19.x line adds support for iOS 26 and Liquid Glass (19.2.0) and fixes the related rendering issues with composer buttons and Help Center articles (19.3.0+); 19.6.3 fixes a launch crash. The Android 18.0.0 release removed `Intercom.client().handlePushMessage()`; the SDK now opens the relevant conversation directly when a push notification is tapped, so the call in `handleOnStart()` is removed. No new requirements for consumers: the plugin already targets minSdk 24 / compileSdk 36 and iOS 15. Co-Authored-By: Claude Opus 4.8 (1M context) --- CapacitorCommunityIntercom.podspec | 2 +- Package.swift | 2 +- android/build.gradle | 2 +- .../community/intercom/intercom/IntercomPlugin.java | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CapacitorCommunityIntercom.podspec b/CapacitorCommunityIntercom.podspec index 5a1ab3f..60ce6dc 100644 --- a/CapacitorCommunityIntercom.podspec +++ b/CapacitorCommunityIntercom.podspec @@ -13,6 +13,6 @@ Pod::Spec.new do |s| s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' s.ios.deployment_target = '15.0' s.dependency 'Capacitor' - s.dependency 'Intercom', '~> 18.0' + s.dependency 'Intercom', '~> 19.0' s.swift_version = '5.1' end diff --git a/Package.swift b/Package.swift index 5629c62..0bafa59 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"), - .package(url: "https://github.com/intercom/intercom-ios-sp.git", from: "18.0.0") + .package(url: "https://github.com/intercom/intercom-ios-sp.git", from: "19.6.3") ], targets: [ .target( diff --git a/android/build.gradle b/android/build.gradle index 3760300..bc8f39b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -3,7 +3,7 @@ ext { androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1' androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0' androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0' - intercomSdkVersion = project.hasProperty('intercomSdkVersion') ? rootProject.ext.intercomSdkVersion : '17.0.2' + intercomSdkVersion = project.hasProperty('intercomSdkVersion') ? rootProject.ext.intercomSdkVersion : '18.3.0' } buildscript { diff --git a/android/src/main/java/com/getcapacitor/community/intercom/intercom/IntercomPlugin.java b/android/src/main/java/com/getcapacitor/community/intercom/intercom/IntercomPlugin.java index 1647e57..9cc9f03 100644 --- a/android/src/main/java/com/getcapacitor/community/intercom/intercom/IntercomPlugin.java +++ b/android/src/main/java/com/getcapacitor/community/intercom/intercom/IntercomPlugin.java @@ -70,7 +70,8 @@ public void handleOnStart() { public void run() { //We also initialize intercom here just in case it has died. If Intercom is already set up, this won't do anything. setUpIntercom(); - Intercom.client().handlePushMessage(); + // Note: handlePushMessage() was removed in Intercom Android SDK 18.0.0. + // The SDK now opens the relevant conversation directly when a push notification is tapped. } } ); From b347a60b61970fec25df362debe064303b47cf85 Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Thu, 18 Jun 2026 15:16:05 +0200 Subject: [PATCH 2/2] docs: update compatibility table for Intercom 19.x / 18.x Reflects the upgraded native SDKs for the Capacitor 8.x row (Intercom iOS 18.x -> 19.x, Android 17.x -> 18.x). Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0523873..3cdd83d 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ | Capacitor | Intercom iOS | Intercom Android | iOS Target | Android Target | | --------- | ------------ | ---------------- | ---------- | -------------- | -| 8.x | 18.x | 17.x | 15.0 | 36 | +| 8.x | 19.x | 18.x | 15.0 | 36 | | 7.x | 18.x | 15.x | 15.0 | 35 | | 6.x | 16.x | 12.x | 13.0 | 34 |