Skip to content

Introduce script to automatically update Intercom SDK#602

Merged
deepak786 merged 2 commits intodeepak786:masterfrom
orestesgaolin:ci/auto-update-script
Feb 12, 2026
Merged

Introduce script to automatically update Intercom SDK#602
deepak786 merged 2 commits intodeepak786:masterfrom
orestesgaolin:ci/auto-update-script

Conversation

@orestesgaolin
Copy link
Contributor

This simple script checks for the latest updates to Intercom SDK and repeats the process we do every now and then to update the SDK.

> dart scripts/check_intercom_sdk_updates.dart           
Current Android SDK: 17.4.3
Current iOS SDK: 19.5.0
Latest Android SDK: 17.4.4
Latest iOS SDK: 19.5.1
Updates applied.

Example diff from run on master:

diff --git a/intercom_flutter/CHANGELOG.md b/intercom_flutter/CHANGELOG.md
index 726e063..c153bda 100755
--- a/intercom_flutter/CHANGELOG.md
+++ b/intercom_flutter/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Changelog
 
+## 9.4.26
+
+* Bump Intercom Android SDK version to [17.4.4](https://github.com/intercom/intercom-android/releases/tag/17.4.4)
+* Bump Intercom iOS SDK version to [19.5.1](https://github.com/intercom/intercom-ios/releases/tag/19.5.1)
+
+
 ## 9.4.25
 
 * Bump Intercom Android SDK version to [17.4.3](https://github.com/intercom/intercom-android/releases/tag/17.4.3)
diff --git a/intercom_flutter/README.md b/intercom_flutter/README.md
index cddffd6..e191318 100755
--- a/intercom_flutter/README.md
+++ b/intercom_flutter/README.md
@@ -5,10 +5,10 @@
 
 Flutter wrapper for Intercom [Android](https://github.com/intercom/intercom-android), [iOS](https://github.com/intercom/intercom-ios), and [Web](https://developers.intercom.com/installing-intercom/docs/basic-javascript) projects.
 
-- Uses Intercom Android SDK Version `17.4.3`.
+- Uses Intercom Android SDK Version `17.4.4`.
 - The minimum Android SDK `minSdk` required is 21.
 - The compile Android SDK `compileSdk` required is 35.
-- Uses Intercom iOS SDK Version `19.5.0`.
+- Uses Intercom iOS SDK Version `19.5.1`.
 - The minimum iOS target version required is 15.
 - The Xcode version required is 15.
 
diff --git a/intercom_flutter/android/build.gradle b/intercom_flutter/android/build.gradle
index 647d5e8..d895a23 100644
--- a/intercom_flutter/android/build.gradle
+++ b/intercom_flutter/android/build.gradle
@@ -50,7 +50,7 @@ android {
 
 dependencies {
     implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
-    implementation 'io.intercom.android:intercom-sdk:17.4.3'
-    implementation 'io.intercom.android:intercom-sdk-ui:17.4.3'
+    implementation 'io.intercom.android:intercom-sdk:17.4.4'
+    implementation 'io.intercom.android:intercom-sdk-ui:17.4.4'
     implementation 'com.google.firebase:firebase-messaging:24.1.2'
 }
diff --git a/intercom_flutter/ios/intercom_flutter.podspec b/intercom_flutter/ios/intercom_flutter.podspec
index 51ef99c..1fb1693 100644
--- a/intercom_flutter/ios/intercom_flutter.podspec
+++ b/intercom_flutter/ios/intercom_flutter.podspec
@@ -17,6 +17,6 @@ A new flutter plugin project.
   s.dependency 'Flutter'
   s.dependency 'Intercom'
   s.static_framework = true
-  s.dependency 'Intercom', '19.5.0'
+  s.dependency 'Intercom', '19.5.1'
   s.ios.deployment_target = '15.0'
 end
diff --git a/intercom_flutter/pubspec.yaml b/intercom_flutter/pubspec.yaml
index 62a0713..c41f347 100644
--- a/intercom_flutter/pubspec.yaml
+++ b/intercom_flutter/pubspec.yaml
@@ -1,7 +1,7 @@
 name: intercom_flutter
 description: Flutter plugin for Intercom integration. Provides in-app messaging
   and help-center Intercom services
-version: 9.4.25
+version: 9.4.26
 homepage: https://github.com/v3rm0n/intercom_flutter
 
 dependencies:
screenshot_20260211_163541@2x

@deepak786
Copy link
Owner

Nice.

But what if there are breaking changes in the SDK?
Maybe instead of scheduling the workflow for everyday, better to run it manually.

@orestesgaolin
Copy link
Contributor Author

orestesgaolin commented Feb 11, 2026

I think it's still convenient to have it run and notify about new version. Currently I'm using RSS notifications and then need to manually do the same steps every time.

If you like doing it - feel free to add manual dispatch to the workflow! I think before any merge it's wise to just checkout the branch and build example app to see if it compiles etc.

@deepak786
Copy link
Owner

Let's test this automation.

@deepak786 deepak786 merged commit 9151d95 into deepak786:master Feb 12, 2026
2 of 3 checks passed
@orestesgaolin
Copy link
Contributor Author

first run done
https://github.com/deepak786/intercom_flutter/actions/runs/21948237240/job/63391503200

@orestesgaolin orestesgaolin deleted the ci/auto-update-script branch February 13, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants