Skip to content

mparticle-integrations/mparticle-apple-integration-iterable-6

Repository files navigation

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

Issues

Please report bugs and feature requests to the mparticle-apple-sdk repository. This mirror repository is not actively monitored for issues.

License

Apache License 2.0

About

Iterable v6 integration for the mParticle iOS SDK

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors