Skip to content

v9.2.2

Choose a tag to compare

@github-actions github-actions released this 25 Jun 16:56
6153517

Core

Added

  • Add device-level consent via MParticleOptions.deviceConsentState and MParticle.sharedInstance.deviceConsentState. When set, it supersedes user/MPID-level consent everywhere consent is evaluated (kit enablement, consent forwarding to kits, and the consent included in uploads for all MPIDs), is persisted device-wide independent of the active user, and triggers the same kit refresh as a user consent change. Set it to nil to clear and revert to user/MPID-level consent.
  • Add MPRokt.handleURLCallback: for forwarding Afterpay/PayPal redirect URLs to the registered Rokt payment extension. Call from application:openURL:options: (AppDelegate) or scene:openURLContexts: / .onOpenURL (Scene/SwiftUI).

Changed

  • Bump minimum RoktContracts to 2.0.0 (adds PaymentMethodType.paypal and totals on PaymentPreparation).

Fixed

  • MParticle.sharedInstance.identity.deviceApplicationStamp now returns the same value sent on the wire as device_application_stamp (mp_deviceid). Previously it returned the unrelated MPDevice.deviceIdentifier used for ramp bucketing.

Kits

Added

  • Rokt SDK+ (RoktSDKPlus) — Umbrella Swift package and CocoaPods pod at Kits/rokt-sdk-plus/rokt-sdk-plus-ios, versioned with the core SDK and mirrored to ROKT/rokt-sdk-plus-ios.

Fixed

  • Rokt SDK+ — Release Build rokt-sdk-plus-ios no longer runs xcodebuild -create-xcframework for this Swift-package-only target (archives do not produce *.framework under Products/Library/Frameworks/). CI uploads a small placeholder zip so mirror artifact steps still succeed; integrate via SwiftPM or CocoaPods from the tag.
  • Rokt SDK+ — Align RoktSDKPlus.podspec with the ecosystem version (double-quoted s.version, same as other kits). Release – Draft now bumps single-quoted s.version = '…' podspec lines so mParticle-Rokt and RoktSDKPlus stay in sync for pod lib lint.

Rokt

Changed
  • Bump minimum Rokt-Widget to 5.1.0 (adds Afterpay payment support).
  • Bump minimum RoktContracts to 2.0.0.
Added
  • Pass through handleURLCallback: to Rokt.handleURLCallback(with:) on the Rokt SDK.