Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CapacitorCommunityIntercom.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
}
);
Expand Down