feat: Update Kochava to v8 and remove Cocoapods #24
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
This updates to the latest version of the Kochava SDK which includes a privacy manifest and optional removal of user tracking. When they did the version bump from 7 to 8, they changed github repo names, SPM package names, some class/method names, but the actual functionality is the same.
Kochava's SDK, as of version 8.0.0, no longer supports CocoaPods. As this version is the minimum required for App Store submission due to the iOS 17 privacy manifest changes, the mParticle Kochava Kit by association no longer supports CocoaPods either so I've removed the podspec and removed pushing to CocoaPods from the release CI action and release script. I added a
VERSION
file so there's something to update for the CI release version bump commit as there is no longer a podfile to update.Due to the optional removal of tracking functionality, we now have two SPM targets:
mParticle-Kochava
andmParticle-Kochava-NoTracking
The
mParticle-Kochava
retains all of the same functionality of the previous version of Kochava, while themParticle-Kochava-NoTracking
removes the parts that Apple defines as "tracking".Specifically this means,
mParticle-Kochava
depends on theKochavaNetworking
,KochavaMeasurement
, andKochavaTracking
packages, while themParticle-Kochava-NoTracking
target only depends on theKochavaNetworking
andKochavaMeasurement
packages.Testing Plan
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)