pure_mixpanel 1.0.6

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 42

pure_mixpanel #

A pure Dart library for Mixpanel analytics.

Running Tests #

This library has Flutter as a dependency for easier testability. The tests are true end to end tests, using a real Mixpanel account and API token that anyone is free to use. I decided against mocking the API for now to keep the codebase simple.

flutter test test/pure_mixpanel_test.dart

Features #

  • Event tracking

Upcoming Features #

[1.0.6] - 12/30/18

  • Upped versions to work with the latest version of Flutter.

[1.0.5] - 12/6/18

  • Support for optional IP tracking.

[1.0.2] - 7/9/18

  • Fix for siutations where debug flag isn't passed in constructor.

[1.0.1] - 7/8/18

  • Minor tweaks.

[1.0.0] - 7/7/18

  • Initial release, supporting Mixpanel event tracking.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  pure_mixpanel: ^1.0.6

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:pure_mixpanel/pure_mixpanel.dart';
  
Version Uploaded Documentation Archive
1.0.6 Dec 31, 2018 Go to the documentation of pure_mixpanel 1.0.6 Download pure_mixpanel 1.0.6 archive
1.0.5 Dec 6, 2018 Go to the documentation of pure_mixpanel 1.0.5 Download pure_mixpanel 1.0.5 archive
1.0.4 Oct 2, 2018 Go to the documentation of pure_mixpanel 1.0.4 Download pure_mixpanel 1.0.4 archive
1.0.3 Sep 28, 2018 Go to the documentation of pure_mixpanel 1.0.3 Download pure_mixpanel 1.0.3 archive
1.0.2 Jul 9, 2018 Go to the documentation of pure_mixpanel 1.0.2 Download pure_mixpanel 1.0.2 archive
1.0.1 Jul 7, 2018 Go to the documentation of pure_mixpanel 1.0.1 Download pure_mixpanel 1.0.1 archive
1.0.0 Jul 7, 2018 Go to the documentation of pure_mixpanel 1.0.0 Download pure_mixpanel 1.0.0 archive
0.0.1 Jul 7, 2018 Go to the documentation of pure_mixpanel 0.0.1 Download pure_mixpanel 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
73
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
27
Overall:
Weighted score of the above. [more]
42
Learn more about scoring.

We analyzed this package on Mar 6, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.3.3

Platforms

Detected platforms:

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Analysis issues and suggestions

Fix dependencies in pubspec.yaml.

Running flutter packages pub upgrade failed with the following output:

ERR: The current Dart SDK version is 2.2.1-dev.0.0.flutter-7c70ab1817.
 
 Because pure_mixpanel requires SDK version >=1.19.0 <=2.2.0, version solving failed.

Health suggestions

Format lib/pure_mixpanel.dart.

Run flutter format to format lib/pure_mixpanel.dart.

Maintenance issues and suggestions

Fix platform conflicts. (-20 points)

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Support the latest stable Dart SDK in pubspec.yaml. (-20 points)

The SDK constraint in pubspec.yaml doesn't allow the latest stable Dart SDK release.

Make sure dartdoc successfully runs on your package's source files. (-10 points)

Dependencies were not resolved.

The package description is too short. (-13 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and pure_mixpanel.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0 <=2.2.0