mparticle_flutter_sdk 2.2.0 copy "mparticle_flutter_sdk: ^2.2.0" to clipboard
mparticle_flutter_sdk: ^2.2.0 copied to clipboard

mParticle Flutter Plugin - SDK wrapper for iOS, Android, and Web platforms

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased #

2.2.0 - 2026-07-27 #

Changed #

  • Make android-rokt-kit a compileOnly plugin dependency and guard Android Rokt registration behind a runtime classpath check, matching the optional Rokt kit pattern used in react-native-mparticle.

2.2.0 - 2026-07-22 #

Added #

  • Add Swift Package Manager support for the iOS plugin (ios/mparticle_flutter_sdk/Package.swift).

Changed #

  • Bump iOS CocoaPods dependency from mParticle-Apple-SDK ~> 9.2 to ~> 9.3.
  • Bump Android Gradle dependencies to android-core:6.0.0 and android-rokt-kit:6.0.0.
  • BREAKING: Android minSdkVersion raised from 16 to 23 (required by Rokt SDK 6.x transitive dependencies).
  • Migrate Android Rokt bridge code to Android SDK 6.0 APIs (com.mparticle.kits, com.rokt.roktsdk, MParticle.rokt).
  • Replace deprecated UserAttributeListener with TypedUserAttributeListener on Android.

Removed #

  • Android Rokt layout padding callbacks (onMarginChanged) — removed upstream in Android SDK 6.0.

2.1.0 - 2026-05-19 #

Added #

  • Add support for Apple SDK MPNetworkOptions.customBaseURL configuration in iOS initialization examples for CNAME routing.
  • Add Android initialization examples for CNAME routing via NetworkOptions.withNetworkOptions(...).

Changed #

  • Bump iOS CocoaPods dependency from mParticle-Apple-SDK ~> 9.1 to ~> 9.2.
  • Pin Android Gradle dependencies in plugin/example docs to android-core:5.79.0 and android-rokt-kit:5.79.0.

2.0.0 - 2026-04-17 #

Added #

  • Support for mParticle Apple SDK 9 and the shared RoktContracts event types (#68).
  • iOS-only Rokt.selectShoppableAds Dart API. Android provides a no-op bridge; web is unsupported (#69).
  • New Rokt events emitted on the MPRoktEvents EventChannel: CartItemInstantPurchaseInitiated, CartItemInstantPurchaseFailure, InstantPurchaseDismissal, CartItemDevicePay.

Changed #

  • BREAKING: iOS minimum deployment target raised from 8.0 to 15.6.
  • BREAKING: iOS CocoaPods dependency replaced — mParticle-Apple-SDK/mParticle ~> 8.5mParticle-Apple-SDK ~> 9.0 (subspecs were removed in Apple SDK 9).

See MIGRATING.md for the full 1.x → 2.0 upgrade guide.

1.1.2 - 2026-04-02 #

  • fix: Make identityRequest optional for identify, login, and logout (#61)
  • fix: Improve pub.dev scores for license detection and static analysis (#63)
  • chore: Add release workflows for automated pub.dev publishing (#62)
  • chore: Remove semantic branch name and target branch checks (#65)

1.1.1 - 2025-11-21 #

  • fix: SDKE-627 Return true immediately for isInitialized on iOS (#57)

1.1.0 - 2025-06-26 #

  • feat: Add support for Rokt
    • feat: Add support for Rokt embedded layout in the Flutter SDK (#50)
    • feat: Passthrough SDK wrapper type to native SDKs (#51)
    • feat: Add RoktConfig support for selectPlacements in Flutter SDK (#52)
    • feat: Add support for Rokt event channel subscription (#53)
    • feat: Add Rokt purchaseFinalized method (#54)
    • refactor: Update selectPlacements parameter from placementId to identifier (#55)

1.0.6 - 2025-01-07 #

  • fix: Resolve linting issues (#48)

1.0.5 - 2024-07-10 #

  • fix: type 'Null' is not a subtype of type 'String' in getCurrentUser (#46)

1.0.4 - 2024-03-15 #

  • chore: Update Android project to Android Gradle Plugin 8.2, update dependencies (#43)

1.0.3 - 2022-12-15 #

  • fix: Update mparticle_flutter_sdk.podspec (#37)

1.0.2 - 2022-11-10 #

  • fix: migrate from jcenter to mavenCentral, update misc files for Android 13, update Github Actions (#34)
  • fix: Update license and static analysis issues (#36)

1.0.1 - 2022-07-12 #

  • fix: resolve iOS mapping product attributes

1.0.0-beta.1 - 2021-10-20 #

  • feat: Add support for Consent across iOS, Android, and Web
  • BREAKING CHANGE: From 0.2.0-alpha.1 to 1.0.0-beta - Migrated public APIs from using positional parameters to named parameters to ensure more developer-friendly APIs. See README.md for new implementation.

0.2.0-alpha.1 - 2021-09-22 #

  • feat: Add support for eCommerce across iOS, Android, and Web
  • BREAKING CHANGE: From 0.1.0 to 0.2.0 - The API for custom events and screenviews has been modified to be more developer friendly. See README.md for new implementation.

0.1.0-alpha.2 - 2021-08-25 #

  • docs: Update README.md

0.1.0-alpha.1 - 2021-08-25 #

  • Initial commit for open sourcing mParticle Flutter SDK
    • Custom event and screen event logging
    • Identity API (identify, login, logout, and alias)
    • Github Actions - semantic PR title check; plugin building
3
likes
150
points
9.4k
downloads

Documentation

API reference

Publisher

verified publishermparticle.com

Weekly Downloads

mParticle Flutter Plugin - SDK wrapper for iOS, Android, and Web platforms

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on mparticle_flutter_sdk

Packages that implement mparticle_flutter_sdk