FLUTTER ECOSYSTEM

flutuate/mixpanel

一个用于 Mixpanel 的 Flutter 插件

mixpanel 项目封面
Stars
11
Forks
21
最近推送(UTC)
2023年9月18日
项目状态
未归档
Luciano Bonifacio Rodrigues GitHub avatar
GITHUB User

Luciano Bonifacio Rodrigues ↗

Developer at flutuate.io, an innovative solutions builder.

flutuate.ioBrazil, SC, Blumenau官方网站 ↗
语言DartJavaSwiftRubyObjective-C

此仓库发布的插件

使用的依赖

依赖清单 4 项
  • flutter{"sdk":"flutter"}
  • test^1.14.4
  • flutter_test开发依赖{"sdk":"flutter"}
  • flutter_driver开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

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.