From cb24c28c26daa6e1fb66c89399d62bfa5fa31fab Mon Sep 17 00:00:00 2001 From: Jason Praful Date: Fri, 5 Dec 2025 14:49:59 +0000 Subject: [PATCH 1/4] use gh token + gh cli for fetching latest releases --- .github/workflows/update-dependencies.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 6f937ed9..012cc9c6 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -12,8 +12,6 @@ jobs: permissions: contents: write pull-requests: write - issues: read - actions: read steps: - name: 🔍 Checkout repository @@ -48,16 +46,18 @@ jobs: - name: 🚀 Get latest SDK releases id: latest-versions + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | echo "🔄 Fetching latest releases..." # Get iOS release - IOS_RELEASE=$(curl -s https://api.github.com/repos/intercom/intercom-ios/releases/latest) + IOS_RELEASE=$(gh api repos/intercom/intercom-ios/releases/latest 2>/dev/null || echo '{}') IOS_VERSION=$(echo "$IOS_RELEASE" | jq -r '.tag_name // "null"') IOS_CHANGELOG=$(echo "$IOS_RELEASE" | jq -r '.body // "No changelog available"') # Get Android release - ANDROID_RELEASE=$(curl -s https://api.github.com/repos/intercom/intercom-android/releases/latest) + ANDROID_RELEASE=$(gh api repos/intercom/intercom-android/releases/latest 2>/dev/null || echo '{}') ANDROID_VERSION=$(echo "$ANDROID_RELEASE" | jq -r '.tag_name // "null"') ANDROID_CHANGELOG=$(echo "$ANDROID_RELEASE" | jq -r '.body // "No changelog available"') @@ -419,12 +419,13 @@ jobs: 🤖 This PR was automatically created by the [Update Dependencies workflow](.github/workflows/update-dependencies.yml). EOF - # Create PR + # Create PR and assign to team if gh pr create \ --title "chore: update Intercom SDK dependencies (${{ steps.update-files.outputs.pr_title_parts }})" \ --body-file pr_body.md \ --head "${{ steps.create-branch.outputs.branch_name }}" \ - --base "main"; then + --base "main" \ + --assignee "@intercom/team-messenger"; then echo "✅ Pull request created successfully!" else echo "❌ Failed to create pull request" From f4fd18de017c5ceb1cfa9182496bc04263b3b779 Mon Sep 17 00:00:00 2001 From: Jason Praful Date: Fri, 5 Dec 2025 15:00:34 +0000 Subject: [PATCH 2/4] make team-messenger reviewer --- .github/workflows/update-dependencies.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 012cc9c6..d9ccc5ec 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -425,7 +425,8 @@ jobs: --body-file pr_body.md \ --head "${{ steps.create-branch.outputs.branch_name }}" \ --base "main" \ - --assignee "@intercom/team-messenger"; then + --assignee "@intercom/team-messenger" \ + --reviewer "intercom/team-messenger"; then echo "✅ Pull request created successfully!" else echo "❌ Failed to create pull request" From afd2decefac7112b4f097e63e186cea45539853d Mon Sep 17 00:00:00 2001 From: Jason Praful Date: Sun, 18 Jan 2026 17:26:07 +0530 Subject: [PATCH 3/4] Remove assignee and reviewer from PR creation --- .github/workflows/update-dependencies.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index d9ccc5ec..16d007ae 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -424,9 +424,7 @@ jobs: --title "chore: update Intercom SDK dependencies (${{ steps.update-files.outputs.pr_title_parts }})" \ --body-file pr_body.md \ --head "${{ steps.create-branch.outputs.branch_name }}" \ - --base "main" \ - --assignee "@intercom/team-messenger" \ - --reviewer "intercom/team-messenger"; then + --base "main"; then echo "✅ Pull request created successfully!" else echo "❌ Failed to create pull request" From e56f9ccdfa86293b51eaa73cb20e91c0d89ee240 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 18 Jan 2026 12:07:15 +0000 Subject: [PATCH 4/4] =?UTF-8?q?chore:=20update=20Intercom=20SDK=20dependen?= =?UTF-8?q?cies=20(iOS:=2019.3.4=20=E2=86=92=2019.4.1,=20Android:=2017.3.1?= =?UTF-8?q?=20=E2=86=92=2017.4.1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated iOS SDK from 19.3.4 to 19.4.1 - Updated Android SDK from 17.3.1 to 17.4.1 - Bumped version from 9.3.4 to 9.4.0 (minor) - Updated lockfiles and example projects --- android/build.gradle | 4 ++-- examples/example/ios/Podfile.lock | 10 +++++----- examples/with-notifications/ios/Podfile.lock | 10 +++++----- intercom-react-native.podspec | 2 +- package.json | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index bf6c7a8d..ef4c8d2b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -84,6 +84,6 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules implementation "com.google.firebase:firebase-messaging:24.1.2" - implementation 'io.intercom.android:intercom-sdk:17.3.1' - implementation 'io.intercom.android:intercom-sdk-ui:17.3.1' + implementation 'io.intercom.android:intercom-sdk:17.4.1' + implementation 'io.intercom.android:intercom-sdk-ui:17.4.1' } diff --git a/examples/example/ios/Podfile.lock b/examples/example/ios/Podfile.lock index e4b5e23a..7d1cc4c4 100644 --- a/examples/example/ios/Podfile.lock +++ b/examples/example/ios/Podfile.lock @@ -4,11 +4,11 @@ PODS: - FBLazyVector (0.74.0) - fmt (9.1.0) - glog (0.3.5) - - Intercom (19.3.4) - - intercom-react-native (9.3.4): + - Intercom (19.4.1) + - intercom-react-native (9.4.0): - DoubleConversion - glog - - Intercom (~> 19.3.4) + - Intercom (~> 19.4.1) - RCT-Folly (= 2024.01.01.00) - RCTRequired - RCTTypeSafety @@ -1332,8 +1332,8 @@ SPEC CHECKSUMS: FBLazyVector: 026c8f4ae67b06e088ae01baa2271ef8a26c0e8c fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2 - Intercom: 9d89549ab9742b2acece67baeffbb4b1f932ad3d - intercom-react-native: c4cc53cdb7ed2811f398c284fbe7d61469be2bf0 + Intercom: aca703f001cf9470b1f13b72cb8cc969a09bafca + intercom-react-native: 983e1581156145c2940a2e83d10a0e0943cec354 RCT-Folly: 045d6ecaa59d826c5736dfba0b2f4083ff8d79df RCTDeprecation: 3ca8b6c36bfb302e1895b72cfe7db0de0c92cd47 RCTRequired: 9fc183af555fd0c89a366c34c1ae70b7e03b1dc5 diff --git a/examples/with-notifications/ios/Podfile.lock b/examples/with-notifications/ios/Podfile.lock index 5625a149..08623b1f 100644 --- a/examples/with-notifications/ios/Podfile.lock +++ b/examples/with-notifications/ios/Podfile.lock @@ -8,15 +8,15 @@ PODS: - hermes-engine (0.81.1): - hermes-engine/Pre-built (= 0.81.1) - hermes-engine/Pre-built (0.81.1) - - Intercom (19.3.4) - - intercom-react-native (9.3.4): + - Intercom (19.4.1) + - intercom-react-native (9.4.0): - boost - DoubleConversion - fast_float - fmt - glog - hermes-engine - - Intercom (~> 19.3.4) + - Intercom (~> 19.4.1) - RCT-Folly - RCT-Folly/Fabric - RCTRequired @@ -2773,8 +2773,8 @@ SPEC CHECKSUMS: fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd glog: 5683914934d5b6e4240e497e0f4a3b42d1854183 hermes-engine: 4f8246b1f6d79f625e0d99472d1f3a71da4d28ca - Intercom: 9d89549ab9742b2acece67baeffbb4b1f932ad3d - intercom-react-native: 54ee5f2ca347e52e197d267e530214cc41941d71 + Intercom: aca703f001cf9470b1f13b72cb8cc969a09bafca + intercom-react-native: 52ae4583a6f3d67826937060d15cbff86beef1d9 MMKV: 7b5df6a8bf785c6705cc490c541b9d8a957c4a64 MMKVCore: 3f40b896e9ab522452df9df3ce983471aa2449ba RCT-Folly: 59ec0ac1f2f39672a0c6e6cecdd39383b764646f diff --git a/intercom-react-native.podspec b/intercom-react-native.podspec index efe0b87a..6b4ce881 100644 --- a/intercom-react-native.podspec +++ b/intercom-react-native.podspec @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.pod_target_xcconfig = { "DEFINES_MODULE" => "YES" } - s.dependency "Intercom", '~> 19.3.4' + s.dependency "Intercom", '~> 19.4.1' is_new_arch_enabled = ENV["RCT_NEW_ARCH_ENABLED"] == "1" folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' diff --git a/package.json b/package.json index d2172b11..e97066f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@intercom/intercom-react-native", - "version": "9.3.4", + "version": "9.4.0", "description": "React Native wrapper to bridge our iOS and Android SDK", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js",