OneTrust Kit Integration
This repository contains the OneTrust integration for the mParticle Apple SDK.
Adding the integration
-
Add the kit dependencies to your app's Podfile:
# Specify exact version used in app.onetrust.com pod 'OneTrust-CMP-XCFramework', 'X.XX.X' pod 'mParticle-Apple-SDK', '~>8.4.0' pod 'mParticle-OneTrust', '~>8.0.2
Note: OneTrust does not support SPM or Carthage at this moment
-
Verify that you are using the correct version of your OneTrust SDK as specified in Cookie Complience > Integrations > SDKs on app.onetrust.com.
-
Follow the mParticle iOS SDK quick-start, then rebuild and launch your app, and verify that you see
"Included kits: { OneTrust }"
in your Xcode console
- (This requires your mParticle log level to be at least Debug)
- Reference mParticle's integration docs below to enable the integration.
Documentation
mParticle Docs: OneTrust integration
OneTrust Developer SDK Portal: Getting Started with Native SDK (iOS)