Mixpanel Flutter Versions Save

Official Flutter Tracking Library for Mixpanel Analytics

v2.3.1

1 month ago

v2.3.1 (2024-04-09)

Enhancements

  • bump iOS to 4.2.5 and Android to 7.5.0 #141

v2.3.0

1 month ago

v2.3.0 (2024-03-25)

Enhancements

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

v2.2.0

6 months ago

v2.2.0 (2023-11-17)

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

v2.1.1

1 year ago

v2.1.1 (2023-03-23)

Enhancements

  • bump iOS version to 4.1.0 #102

v2.1.0

1 year ago

v2.1.0 (2023-03-06)

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

v2.0.0

1 year ago

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

1 year ago

v1.6.0 (2022-06-24)

Enhancements

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

v1.5.1

1 year ago

v1.5.1 (2022-05-20)

Enhancements

  • bump versions to remove survey #79

v1.5.0

2 years ago

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

2 years ago

v1.4.8 (2022-05-06)