mixpanel_flutter 2.0.0
mixpanel_flutter: ^2.0.0 copied to clipboard
Official Flutter Tracking SDK for Mixpanel Analytics developed and maintained by Mixpanel, Inc.
#
2.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
#
1.6.0 - 2022-06-24 #
1.5.0 - 2022-05-09 #
1.4.6 - 2022-04-11 #
1.4.5 - 2022-02-11 #
1.4.3 - 2022-01-19 #
1.4.2 - 2022-01-05 #
1.4.0 - 2021-12-02 #
1.3.1 - 2021-09-25 #
1.3.0 - 2021-09-21 #
1.1.0 #
- Add support for Null Safety! Thanks @incendial for contributing a PR for this. π
1.0.1 #
- Improve docs
1.0.0 #
- π This is our first release! πππ Report issues or give us any feedback is appreciated!
- integration guide
- full API reference