Skip to content
Draft
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
5 changes: 4 additions & 1 deletion .github/workflows/auto-update-native-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"./package.json": "./package.json"
},
"cioNativeiOSSdkVersion": "= 4.7.0",
"cioNativeiOSSdkVersion": "= 4.7.1",
"cioiOSFirebaseWrapperSdkVersion": "= 1.0.0",
"files": [
"src",
Expand Down
Loading