Add iOS SDK configuration plist for Flutter identification#46
Open
Add iOS SDK configuration plist for Flutter identification#46
Conversation
a75c925 to
a767dc4
Compare
dan-peluso
reviewed
Mar 2, 2026
ios/klaviyo-sdk-configuration.plist
Outdated
| <key>klaviyo_sdk_name</key> | ||
| <string>flutter</string> | ||
| <key>klaviyo_sdk_version</key> | ||
| <string>1.0.0</string> |
Contributor
There was a problem hiding this comment.
could we change this to 0.1.0-alpha.1?
Contributor
Author
There was a problem hiding this comment.
Fixed. I also did two things to ensure this value is kept in sync:
- I added a pre-commit hook that automatically updates this value to match the pubspec.yaml whenever that file changes.
- I added a Github workflow that validates that this plist value is in sync with the pubspec.yaml value.
Contributor
There was a problem hiding this comment.
Nice - I also added a 'bump version' script. I have it modify a plist but mind running it now that it's merged to see if it works?
dan-peluso
approved these changes
Mar 2, 2026
Contributor
dan-peluso
left a comment
There was a problem hiding this comment.
probably want some ios eyes, and def change that version but otherwise lgtm
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
a767dc4 to
b68f811
Compare
b68f811 to
90ae295
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
46827ff to
4cd5082
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
klaviyo-sdk-configuration.plistto the iOS plugin so the native Swift SDK identifies outgoing requests as coming from the Flutter SDKs.resourcesto the podspec so the plist gets bundled into the host appOnce the companion Swift SDK change is released, this will cause:
klaviyo-flutter/1.0.0instead ofklaviyo-swift/5.2.0flutterasklaviyo_sdkand1.0.0assdk_versionflutterforSDK Nameand1.0.0forSDK VersionDependencies
KlaviyoSwiftdependency version pin in the podspec will need to be bumped to whichever Swift SDK release includes that changeTest plan
klaviyo-flutter/1.0.0in the User-Agentflutter/1.0.0flutter/1.0.0Related issues
🤖 Generated with Claude Code