mixpanel_flutter 2.0.0 copy "mixpanel_flutter: ^2.0.0" to clipboard
mixpanel_flutter: ^2.0.0 copied to clipboard

outdated

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

#

v2.0.0 (2022-09-09) #

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

#

v1.6.0 (2022-06-24) #

Enhancements #

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

#

v1.5.1 (2022-05-20) #

Enhancements #

  • bump versions to remove survey #79

#

v1.5.0 (2022-05-09) #

Enhancements #

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

#

v1.4.8 (2022-05-06) #

#

v1.4.7 (2022-05-06) #

#

v1.4.6 (2022-04-11) #

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

#

v1.4.5 (2022-02-11) #

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

#

v1.4.4 (2022-01-26) #

Fixes #

  • Bump iOS SDK depedency to v3.1.2 #52

#

v1.4.3 (2022-01-19) #

Caution: Please DO NOT use this build! In this version, we have a bug in iOS that event names with & or % will be rejected by the server. We recommend you update to 1.4.4 or above. #

Fixes #

  • Now First App Open will display 'flutter' as property value for 'Mixpanel Library' in iOS #49

#

v1.4.2 (2022-01-05) #

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

#

v1.4.1 (2021-12-04) #

Merged pull requests:

  • Some lint fixes #40

#

v1.4.0 (2021-12-02) #

Enhancements #

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

#

v1.3.1 (2021-09-25) #

Enhancements #

  • Migrate from JCenter #22

Merged pull requests:

  • Bump native SDK dependencies #29

#

v1.3.0 (2021-09-21) #

Enhancements #

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

Merged pull requests:

  • Remove jCenter #24

#

v1.2.1 (2021-07-19) #

Fixes #

  • Fix the bool value being tracked as Int #21

#

v1.2.0 (2021-07-01) #

Enhancements #

  • Add API setUseIpAddressForGeolocation #18

1.1.0 #

  • Add support for Null Safety! Thanks @incendial for contributing a PR for this. 🙏

1.0.1 #

  • Improve docs

1.0.0 #

118
likes
0
pub points
99%
popularity

Publisher

unverified uploader

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

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, js

More

Packages that depend on mixpanel_flutter