Search packages, repositories and app categories

GitHub repositoryflutuate/mixpanel

mixpanel

A Flutter plugin for Mixpanel

mixpanel project cover
Stars
11
Forks
21
Last push (UTC)
Sep 18, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

flutuate_mixpanel

A Flutter plugin for Mixpanel.

Getting Started

This plugin wraps the most of the functions from Mixpanel SDK. It runs on both Android and iOS. To use it, you must have a registered token from Mixpanel.

Configuration

Add flutuate_mixpanel to pubspec.yaml under the dependencies field.

dependencies:
  flutuate_mixpanel: ^latest_version

Import

Add the following import in your library :

import 'package:flutuate_mixpanel/flutuate_mixpanel.dart';

Usage

For you to use the plugin, in your Flutter app, get an instance of Mixpanel plugin:

    MixpanelAPI instance = await MixpanelAPI.getInstance('<your_mixpanel_token');

So after, you only call the API methods specified in Mixpanel Android API documentation.

See also the Mixpanel documentation for more informations.

Example

The sample project has more details about how to use the plugin.

Luciano Bonifacio Rodrigues GitHub avatar
GitHub author

Luciano Bonifacio Rodrigues ↗

Developer at flutuate.io, an innovative solutions builder.

flutuate.ioBrazil, SC, BlumenauOfficial website ↗
LanguagesDartJavaSwiftRubyObjective-C

Packages published by this repository

Dependencies used

Dependency list 4 items

  • flutter{"sdk":"flutter"}
  • test^1.14.4
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_driverDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗