PackageTrack
Sign in Get early access

mixpanel_flutter

Official Flutter Tracking SDK for Mixpanel Analytics developed and maintained by Mixpanel, Inc.

2.13.0 232K downloads/mo #799 most downloaded on pub.dev mixpanel/mixpanel-flutter

What this package is like to depend on

Last release 27 days ago

27 Jul 2026

Release timing varies

gaps range from 2 weeks to 8 months

Nearly every release is documented

notes for 42 of 43 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

43 releases · first in 2021

11 releases in the last 12 months

see the full history below

Release timeline

43 releases · Feb 2021 to Jul 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 43
  1. 2.13.0 27 Jul 2026
    Release notes

    Features

    • add trackScreenView and trackScreenLeave public APIs (#265)

    Full Changelog

    Open source →
    Release notes

    Features

    • add trackScreenView and trackScreenLeave public APIs (#265)

    Full Changelog

    Open source →
  2. 2.12.0 17 Jul 2026
    Release notes

    Features

    • Added support to return the fallback reason for the feature flag varient, bumped native iOS and Android SDK versions to latest. (#267)

    Full Changelog

    Open source →
    Release notes

    Features

    • Added support to return the fallback reason for the feature flag varient, bumped native iOS and Android SDK versions to latest. (#267)

    Full Changelog

    Open source →
  3. 2.11.0 10 Jul 2026
    Release notes

    Chores

    • Add prefetchFlags Option (#259)

    Full Changelog

    Open source →
    Release notes

    Chores

    • Add prefetchFlags Option (#259)

    Full Changelog

    Open source →
  4. 2.10.0 15 Jun 2026
    Release notes

    Features

    • Added Swift Package Manager (SPM) support (#235)

    Full Changelog

    Open source →
    Release notes

    Features

    • Add Swift Package Manager (SPM) support (#235)

    Full Changelog

    Open source →
  5. 2.9.0 10 Jun 2026
    Release notes

    Features

    • wire mixpanel_flutter to MixpanelEventBridge (#249)
    • Add serverURL option for Mixpanel init (#247)
    • expose serverURL in Mixpanel.init() (#245)

    Full Changelog

    Open source →
    Release notes

    Features

    • wire mixpanel_flutter to MixpanelEventBridge (#249)
    • Add serverURL option for Mixpanel init (#247)
    • expose serverURL in Mixpanel.init() (#245)

    Full Changelog

    Open source →
  6. 2.8.0 08 May 2026
    Release notes

    v2.8.0 (2026-05-08)

    Enhancements

    • Feature Flag Persistence #236
    Open source →
    Release notes

    Enhancements

    • Feature Flag Persistence #236

    Open source →
  7. 2.7.0 30 Apr 2026
    Release notes

    Enhancements

    • Add getAllVariants support for Feature Flags #233

    Open source →
  8. 2.6.2 17 Apr 2026
    Release notes

    Enhancements

    • Update Mixpanel Swift SDK to 6.3.0

    Fixes

    • Feature Flags proper track() and getVariant() sequential ordering (within Swift SDK)
    Open source →
  9. 2.6.1 15 Apr 2026
    Release notes

    Enhancements

    • Update Mixpanel Android SDK to 8.5.1

    Fixes

    • Feature Flags will auto load on inititialization (within Android SDK)
    • Feature Flags first time event track fix (within Android SDK)
    • Feature Flags proper track() and getVariant() sequential ordering (within Android SDK)
    Open source →
  10. 2.6.0 09 Apr 2026
    Release notes

    Enhancements

    • Add OSX desktop support #220
    • Update Mixpanel Android SDK to 8.5.0
    • Update Mixpanel Swift SDK to 6.2.0
    • updateContext() now calls setContext on iOS and Android instead of being a no-op #210
    • loadFlags() now supported on web via mixpanel.flags.load_flags() #210
    • Refactor Mixpanel instance management in iOS Flutter plugin #221

    Open source →
  11. 2.5.0 06 Feb 2026
    Release notes

    Enhancements

    • Feature Flags Support #209

    Open source →
  12. 2.4.4 03 Jun 2025
    Release notes

    Fixes

    • Ensure complex / dynamic values are properly serializable on web #197

    Open source →
  13. 2.4.3 30 May 2025
    Release notes

    Fixes

    • Move Mixpanel Android Method Channel Initialization back to onAttachedToEngine #196

    Open source →
  14. 2.4.2 30 May 2025
    Release notes

    Enhancements

    • Bump native libraries to Swift 5.1.0 and Android 8.2.0 #194

    Fixes

    • fix: .jsify() error polluting console logs #193
    • Defer MixpanelFlutterPlugin registration and initialization to prevent ANRs #191

    Open source →
  15. 2.4.1 24 Apr 2025
    Release notes

    Fixes

    • Bump mixpanel-swift version to 5.0.0 #187

    Open source →
  16. 2.4.0 11 Apr 2025
    Release notes

    Enhancements

    • Bump to Swift 4.4.0 and Android 8.0.3 #183
    • Refactor: Improve type safety in MixpanelFlutterHelper & Remove Plug… #181
    • feat: Add wasm support #167

    Open source →
  17. 2.3.4 20 Feb 2025
    Release notes

    Fixes

    • Remove unused PluginRegistry dependency #182

    Open source →
  18. 2.3.3 25 Sep 2024
    Release notes

    Fixes

    • revert minsdk #166
    • revert android #165

    Open source →
  19. 2.3.2 10 Sep 2024
    Release notes

    Enhancements

    • upgrade iOS SDK to 4.3.0 #162
    • Upgrade minSDK to 23 #161
    • Fix: Resolve compilation issues in SDK and main.dart #160
    • Lower js constraint to allow 0.6.x #142

    Open source →
  20. 2.3.1 09 Apr 2024
    Release notes

    Enhancements

    • bump iOS to 4.2.5 and Android to 7.5.0 #141

    Open source →
  21. 2.3.0 25 Mar 2024
    Release notes

    Enhancements

    • Update AGP to 8 and update all dependencies #139
    • upgrade js to 0.7.1 #138
    • Add Future return in some methods #136

    Open source →
  22. 2.2.0 17 Nov 2023
    Release notes

    Enhancements

    • add api: setFlushBatchSize #102
      /// Set the number of events sent in a single network request to the Mixpanel server.
      /// By configuring this value, you can optimize network usage and manage the frequency of communication between the client
      /// and the server. The maximum size is 50; any value over 50 will default to 50.
      /// * [flushBatchSize] an int representing the number of events sent in a single network request.
      void setFlushBatchSize(int flushBatchSize) {
        _channel.invokeMethod<void>('setFlushBatchSize',
            <String, dynamic>{'flushBatchSize': flushBatchSize});
      }
    
    • bump iOS to 4.2.0

    Open source →
  23. 2.1.1 23 Mar 2023
    Release notes

    Enhancements

    • bump iOS version to 4.1.0 #102

    Open source →
  24. 2.1.0 06 Mar 2023
    Release notes

    NOTE:

    • From this version we will prefix randomly generated device-specific distinct_ids with "$device:". The prefix is applied the next time a new random ID is generated, any IDs generated by previous SDK versions and persisted on the device will continue to be used as-is until reset is called to generate a new ID. This does not change the value sent for the $device_id property, which will continue to be the randomly-generated ID without a prefix. Mixpanel's $identify endpoint has been updated to accept UUIDs with this prefix to coordinate with this change.

    Enhancements

    • bump ios to 4.0.5 and android to 7.3.0 #99

    Open source →
  25. 2.0.0 09 Sep 2022
    Release notes

    BREAKING CHANGE:

    This major release removes all remaining calls to Mixpanel's /decide API endpoint. The main effect of this is that the SDK no longer fetches the remote status of your project's "Automatically collect common mobile events" setting. From this version forward, automatic event tracking can only be controlled by the, now required, parameter trackAutomaticEvents. Upon upgrading, existing implementations will need to add this parameter to their Mixpanel initializer calls.

    import 'package:mixpanel_flutter/mixpanel_flutter.dart';
    
    class MixpanelManager {
      static Mixpanel? _instance;
    
      static Future<Mixpanel> init() async {
        if (_instance == null) {
          _instance = await Mixpanel.init("YOUR_PROJECT_TOKEN", trackAutomaticEvents: true);
        }
        return _instance!;
      }
    }
    
    

    Enhancements

    • add param 'trackAutomaticEvents' to 'init' #86

    Open source →
  26. 1.6.0 24 Jun 2022
    Release notes

    Enhancements

    • bump versions to get millisecond precision for event time property #82

    Open source →
  27. 1.5.1 20 May 2022
    Release notes

    Enhancements

    • bump versions to remove survey #79

    Open source →
  28. 1.5.0 09 May 2022
    Release notes

    Enhancements

    • add config for web init and setServerURL for web #75
    • feat: support DateTime and Uri #66
    • fix: Make flush method asynchronous #64

    Open source →
  29. 1.4.8 06 May 2022
    Release notes

    Open source →
  30. 1.4.6 11 Apr 2022
    Release notes

    Enhancements

    • bump iOS SDK version to 3.1.7 and Android to 6.1.1 #69

    Fixes

    • Registering non-string super props in init fails #51

    Open source →
  31. 1.4.5 11 Feb 2022
    Release notes

    Enhancements

    • bump iOS SDK version to 3.1.4 #61

    Fixes

    • Fix registering non-string super props in init fails #62
    • Fix several misspellings of "Mixpanel" #60
    • Fix backward ordering of 'alias()' parameters on Android. #58

    Open source →
  32. 1.4.4 26 Jan 2022
    Release notes

    Fixes

    • Bump iOS SDK depedency to v3.1.2 #52

    Open source →
  33. 1.4.3 19 Jan 2022

    Nothing published for this version

  34. 1.4.2 05 Jan 2022
    Release notes

    Merged pull requests:

    • bump Mixpanel native SDK version to iOS 3.0.0, Android 6.0.0 #46
    • register super properties on Mixpanel.init for iOS #46
    • fix nested dictionary not being able to tracked properly in iOS #43

    Open source →
  35. 1.4.1 04 Dec 2021
    Release notes

    Merged pull requests:

    • Some lint fixes #40

    Open source →
  36. 1.4.0 02 Dec 2021
    Release notes

    Enhancements

    • Add web support #35 Please add the following snippet to your web/index.html inside <head></head> in your Flutter project.

    <script src="./assets/packages/mixpanel_flutter/assets/mixpanel.js"></script>

    Open source →
  37. 1.3.1 27 Sep 2021
    Release notes

    Enhancements

    • Migrate from JCenter #22

    Merged pull requests:

    • Bump native SDK dependencies #29

    Open source →
  38. 1.3.0 21 Sep 2021
    Release notes

    Enhancements

    • change the name 'properties' to 'superProperties' in init #28
    • Add superProperties on initialize #14

    Merged pull requests:

    • Remove jCenter #24

    Open source →
  39. 1.2.1 19 Jul 2021
    Release notes

    Fixes

    • Fix the bool value being tracked as Int #21

    Open source →
  40. 1.2.0 13 Jul 2021
    Release notes

    Enhancements

    • Add API setUseIpAddressForGeolocation #18
    Open source →
  41. 1.1.0 26 Mar 2021
    Release notes
    • Add support for Null Safety! Thanks @incendial for contributing a PR for this. 🙏
    Open source →
  42. 1.0.1 06 Mar 2021
    Release notes
    • Improve docs
    Open source →
  43. 1.0.0 25 Feb 2021
    Release notes
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive