CocoaPods trunk is moving to be read-only. Read more on the blog, there are 8 months to go.

mParticle-Iterable-6 9.0.1

mParticle-Iterable-6 9.0.1

Maintained by mParticle Developers.



 
Depends on:
mParticle-Apple-SDK~> 9.0
Iterable-iOS-SDK~> 6.5
 

  • By
  • mParticle

mParticle Iterable Kit (Iterable SDK 6.x)

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', '~> 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.6

Documentation

License

Apache License 2.0