From 3c4944dd1170f4fe2b34e4907dd19dde295501f3 Mon Sep 17 00:00:00 2001 From: Mahmoud Elmorabea Date: Thu, 6 Aug 2026 01:10:48 +0300 Subject: [PATCH] chore: update Customer.io iOS SDK to 4.7.1 Bumps the pinned native iOS SDK from 4.7.0 to 4.7.1 across every place a version is declared: - package.json `cioNativeiOSSdkVersion` (drives both podspecs) - example/ios/Podfile (sample app) The sample-app pin belongs to the Live Activities widget extension, which cannot link the wrapper pod and so names the rendering pods itself. It was introduced after the auto-update workflow was written, so the automation never moved it; this also teaches auto-update-native-sdks.yml about it, to keep the widget from building against a different native SDK than the app target. Android stays at 4.20.0, which is already the latest release. Co-Authored-By: Claude Opus 5 --- .github/workflows/auto-update-native-sdks.yml | 5 ++++- example/ios/Podfile | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-update-native-sdks.yml b/.github/workflows/auto-update-native-sdks.yml index bdecaf2e..1555af3e 100644 --- a/.github/workflows/auto-update-native-sdks.yml +++ b/.github/workflows/auto-update-native-sdks.yml @@ -239,7 +239,9 @@ jobs: echo "📝 Updating iOS SDK version to $IOS_VERSION" # Update the cioNativeiOSSdkVersion in package.json sed -i "s/\"cioNativeiOSSdkVersion\": *\".*\"/\"cioNativeiOSSdkVersion\": \"= $IOS_VERSION\"/" package.json - echo "✅ iOS version updated" + # Keep the sample app's Live Activities widget pods in sync with cioNativeiOSSdkVersion + sed -i "s/pod cio_pod, '.*'/pod cio_pod, '$IOS_VERSION'/" example/ios/Podfile + echo "✅ iOS version updated in package.json and the sample app" fi # Update Android version if needed @@ -384,6 +386,7 @@ jobs: if [[ "$IOS_UPDATED" == "true" ]]; then DESCRIPTION+="- \`package.json\` - Updated \`cioNativeiOSSdkVersion\` to \`= $NEW_IOS\` + - \`example/ios/Podfile\` - Updated the Live Activities widget pods to \`$NEW_IOS\` " fi diff --git a/example/ios/Podfile b/example/ios/Podfile index 7116fb71..4e06ab28 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -94,6 +94,6 @@ target "LiveActivityWidget" do # A widget extension cannot link the wrapper pod, so it names the rendering pods itself. # Keep the version in step with package.json's cioNativeiOSSdkVersion. %w[CustomerIOLiveActivitiesTemplates CustomerIOLiveActivitiesAttributes].each do |cio_pod| - pod cio_pod, '4.7.0' + pod cio_pod, '4.7.1' end end diff --git a/package.json b/package.json index 28267c7b..6e5bef8a 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "./package.json": "./package.json" }, - "cioNativeiOSSdkVersion": "= 4.7.0", + "cioNativeiOSSdkVersion": "= 4.7.1", "cioiOSFirebaseWrapperSdkVersion": "= 1.0.0", "files": [ "src",