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",