This is the Branch integration for the mParticle Apple SDK, built against the Branch SDK 3.x.
Add the Branch Metrics kit package dependency in Xcode or in your Package.swift.
Swift Package Manager resolves the mParticle SDK automatically as a transitive dependency, so you do not need a separate .package entry for mparticle-apple-sdk.
let mParticleVersion: Version = "9.0.0"
.package(
url: "https://github.com/mparticle-integrations/mparticle-apple-integration-branchmetrics-3",
.upToNextMajor(from: mParticleVersion)
),Then add mParticle-BranchMetrics as a dependency of your target.
Add the kit dependency to your app's Podfile:
pod 'mParticle-BranchMetrics', '~> 9.0'After installing, rebuild and launch your app. With the mParticle log level set to Debug or higher, you should see the following in your Xcode console:
Included kits: { BranchMetrics }| Platform | Minimum Version |
|---|---|
| iOS | 15.6 |