mparticle-integrations/mparticle-apple-integration-iterable-6
This is the Iterable integration for the mParticle Apple SDK, built against the Iterable iOS SDK 6.x.
Installation
Swift Package Manager
Add the Iterable 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-iterable-6",
.upToNextMajor(from: mParticleVersion)
),Then add mParticle-Iterable as a dependency of your target.
CocoaPods
Add the kit dependency to your app's Podfile:
pod 'mParticle-Iterable-6', '~> 9.0'Configuration
Custom Iterable Config
You can pass a custom IterableConfig before mParticle initialization:
import IterableSDK
import mParticle_Iterable
let config = IterableConfig()
config.autoPushRegistration = true
MPKitIterable.setCustomConfig(config)User ID Preference
By default, the kit identifies users by email. To prefer user ID instead:
MPKitIterable.setPrefersUserId(true)Verifying the Integration
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: { Iterable }Platform Support
| Platform | Minimum Version | | -------- | --------------- | | iOS | 15.0 | | tvOS | 15.0 |
Documentation
Issues
Please report bugs and feature requests to the mparticle-apple-sdk repository. This mirror repository is not actively monitored for issues.
License
Package Metadata
Repository: mparticle-integrations/mparticle-apple-integration-iterable-6
Default branch: main
README: README.md